[PATCH] S/Q relation: Spell Ferguson with F

Wald Commits scm-commit at wald.intevation.org
Fri Aug 9 18:29:12 CEST 2013


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1376065748 -7200
# Node ID e237a83fd87de6ef18ea1b1f1e588b35cb92d229
# Parent  978ab716a15e913d7e1ac2a2dded3bc1141b3cba
S/Q relation: Spell Ferguson with F.

diff -r 978ab716a15e -r e237a83fd87d artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQRelationCalculation.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQRelationCalculation.java	Fri Aug 09 18:24:55 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQRelationCalculation.java	Fri Aug 09 18:29:08 2013 +0200
@@ -42,7 +42,7 @@
         "chi_sqr",
         "std_dev",
         "max_q",
-        "c_perguson",
+        "c_ferguson",
         "c_duan",
         "r2"
     };
@@ -294,7 +294,7 @@
             return Math.max(0d, max);
         }
 
-        private double cPerguson(
+        private double cFerguson(
             org.dive4elements.river.artifacts.math.Function instance,
             SQ [] sqs
         ) {
@@ -384,7 +384,7 @@
             org.dive4elements.river.artifacts.math.Function f =
                 function.instantiate(coeffs);
 
-            parameters.set(row, "c_perguson", cPerguson(f, measurements));
+            parameters.set(row, "c_ferguson", cFerguson(f, measurements));
             parameters.set(row, "c_duan", cDuan(f, measurements));
             parameters.set(row, "r2", r2(f, measurements));
 


More information about the Dive4elements-commits mailing list