Fix minor bug with REST2 parameters 11/4111/1
authorDavid <dhardy@ks.uiuc.edu>
Thu, 3 May 2018 00:14:31 +0000 (19:14 -0500)
committerDavid <dhardy@ks.uiuc.edu>
Thu, 3 May 2018 00:14:31 +0000 (19:14 -0500)
Correctly set range for soluteScalingFactorCharge.

Change-Id: I4126d9f998bde1f1f703ff201480887198ad809c

src/SimParameters.C

index 5ee0de6..27b6a2e 100644 (file)
@@ -1182,7 +1182,7 @@ void SimParameters::config_parser_methods(ParseOptions &opts) {
    opts.optional("soluteScaling", "soluteScalingFactorCharge",
        "Solute scaling factor for electrostatic interactions",
        &soluteScalingFactorCharge);
-   opts.range("soluteScalingFactorVdw", NOT_NEGATIVE);
+   opts.range("soluteScalingFactorCharge", NOT_NEGATIVE);
    opts.optional("soluteScaling", "soluteScalingFactorVdw",
        "Solute scaling factor for van der Waals interactions",
        &soluteScalingFactorVdw);