[Dive4elements-commits] [PATCH 1 of 2] Fixed interchanged Ws and Qs in Historical Discharge calculation

Wald Commits scm-commit at wald.intevation.org
Mon Oct 29 06:00:07 CET 2012


# HG changeset patch
# User Ingo Weinzierl <ingo.weinzierl at intevation.de>
# Date 1351486596 -3600
# Node ID 7b6c313904273c5de2e3c7976d6f665f8d01274a
# Parent  a27e68562f2a98452d61f1eecc88ad25f059cf95
Fixed interchanged Ws and Qs in Historical Discharge calculation.

diff -r a27e68562f2a -r 7b6c31390427 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation6.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation6.java	Fri Oct 26 16:45:17 2012 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation6.java	Mon Oct 29 05:56:36 2012 +0100
@@ -169,7 +169,7 @@
         double[] kms = new double[values[0].length];
         Arrays.fill(kms, km);
 
-        return new HistoricalWQKms(kms, values[1], values[0],
+        return new HistoricalWQKms(kms, values[0], values[1],
             String.valueOf(km), dt.getTimeInterval());
     }
 


More information about the Dive4elements-commits mailing list