# HG changeset patch # User Sascha L. Teichmann # Date 1307306871 0 # Node ID baea7981477a8e5fe915494cbd99924e298d089e # Parent 913b5206444926223b9eba14dfbb508a94f08b3e Berechnung 4: Fixed problem when more than one value per segment are given. flys-artifacts/trunk@2054 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 913b52064449 -r baea7981477a flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Sun Jun 05 18:24:46 2011 +0000 +++ b/flys-artifacts/ChangeLog Sun Jun 05 20:47:51 2011 +0000 @@ -1,3 +1,8 @@ +2011-06-05 Sascha L. Teichmann + + * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: + Fixed problem when more than one value per segment are given. + 2011-06-05 Sascha L. Teichmann Refactored version of "Berechnung 4" diff -r 913b52064449 -r baea7981477a flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation4.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation4.java Sun Jun 05 18:24:46 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation4.java Sun Jun 05 20:47:51 2011 +0000 @@ -46,7 +46,7 @@ this.segments = segments; this.isQ = isQ; - int numResults = 1; + int numResults = -1; // assign reference points for (Segment segment: segments) {