# HG changeset patch # User Sascha L. Teichmann # Date 1327673962 0 # Node ID 922c672ec6c1b0c7f3196987e2665ab0e8282090 # Parent f28844a57fedf8d50d70b97c3847034ce58b5f59 'Bezugslinienverfahren': Fixed stupid bug. flys-artifacts/trunk@3803 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r f28844a57fed -r 922c672ec6c1 flys-artifacts/ChangeLog --- 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 + + * src/main/java/de/intevation/flys/artifacts/model/Calculation5.java: + Fixed stupid bug. + 2012-01-27 Ingo Weinzierl * src/main/java/de/intevation/flys/artifacts/states/ReferenceGaugeState.java, diff -r f28844a57fed -r 922c672ec6c1 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation5.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(); }