Mercurial > dive4elements > river
changeset 656:baea7981477a
Berechnung 4: Fixed problem when more than one value per segment are given.
flys-artifacts/trunk@2054 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 05 Jun 2011 20:47:51 +0000 |
parents | 913b52064449 |
children | ac1399d325e9 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation4.java |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <sascha.teichmann@intevation.de> + + * 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 <sascha.teichmann@intevation.de> Refactored version of "Berechnung 4"
--- 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) {