Mercurial > dive4elements > river
changeset 337:ec17fad34061
Discharge table: Fix problem when sorting by q (copied w instead of q).
flys-artifacts/trunk@1736 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 20 Apr 2011 09:46:40 +0000 |
parents | 7f13ed751277 |
children | cf84f0f926e9 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Wed Apr 20 08:00:38 2011 +0000 +++ b/flys-artifacts/ChangeLog Wed Apr 20 09:46:40 2011 +0000 @@ -1,3 +1,8 @@ +2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: + Fix problem when sorting by q (copied w instead of q). + 2011-04-20 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java Wed Apr 20 08:00:38 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java Wed Apr 20 09:46:40 2011 +0000 @@ -166,7 +166,7 @@ double [][] vs2 = new double[2][vs[0].length]; for (int i = 0; i < indices.length; ++i) { vs2[0][i] = vs[0][indices[i]]; - vs2[1][i] = vs[0][indices[i]]; + vs2[1][i] = vs[1][indices[i]]; } values.put(gaugeName, vs2); }