changeset 2192:922c672ec6c1

'Bezugslinienverfahren': Fixed stupid bug. flys-artifacts/trunk@3803 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 27 Jan 2012 14:19:22 +0000
parents f28844a57fed
children 73490b828a90
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation5.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Fri Jan 27 13:26:04 2012 +0000
+++ b/flys-artifacts/ChangeLog	Fri Jan 27 14:19:22 2012 +0000
@@ -1,3 +1,8 @@
+2012-01-27	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/Calculation5.java:
+	  Fixed stupid bug.
+
 2012-01-27  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java,
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation5.java	Fri Jan 27 13:26:04 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation5.java	Fri Jan 27 14:19:22 2012 +0000
@@ -34,7 +34,7 @@
             if (wws.length == 2) {
                 WW ww = new WW(generateName(startKm, endKm), wws[0], wws[1]);
 
-                if (newNumProblems > newNumProblems) {
+                if (newNumProblems > numProblems) {
                     ww.removeNaNs();
                 }
 

http://dive4elements.wald.intevation.org