Mercurial > dive4elements > river
changeset 8650:dcdccd59c3be
(issue1754) Do not switch W and Km data when Range filtering WKms
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 31 Mar 2015 17:27:20 +0200 |
parents | 7d86194661c3 |
children | 81a8e3043794 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/WKmsImpl.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/WKmsImpl.java Tue Mar 31 15:16:12 2015 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/WKmsImpl.java Tue Mar 31 17:27:20 2015 +0200 @@ -115,7 +115,7 @@ for (int i = 0; i < size(); i++) { double km = kms.getQuick(i); if (km >= from && km <= to) { - retval.add(ws.getQuick(i), km); + retval.add(km, getW(i)); } } return retval;