[PATCH 1 of 2] FixWQCurveGenerator: Set same tolerance to "at Gauge?"-definition as in other w/q cases

Wald Commits scm-commit at wald.intevation.org
Tue Jul 2 15:33:44 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1372772206 -7200
# Node ID 52d160b16a4ce66ccbc2b1bb0081d60b427918de
# Parent  2afe2fe125767f9e3e9fe6a6e400ccd3dbaa3901
FixWQCurveGenerator: Set same tolerance to "at Gauge?"-definition as in other w/q cases.

diff -r 2afe2fe12576 -r 52d160b16a4c artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixWQCurveGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixWQCurveGenerator.java	Tue Jul 02 15:03:04 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/fixings/FixWQCurveGenerator.java	Tue Jul 02 15:36:46 2013 +0200
@@ -157,7 +157,7 @@
         if (context.getContextValue(CURRENT_KM) != null) {
             return DischargeCurveGenerator.getCurrentGaugeDatum(
                 (Double) context.getContextValue(CURRENT_KM),
-                (D4EArtifact) getMaster(), 0.1d);
+                (D4EArtifact) getMaster(), 1e-4);
         }
         else return 0d;
     }


More information about the Dive4elements-commits mailing list