Mercurial > dive4elements > river
changeset 2404:750cdcccb39c
'Bezugslinienverfahren': Fix the index bug.
flys-artifacts/trunk@4031 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 10 Feb 2012 12:09:36 +0000 |
parents | 177b0c91928d |
children | f008c3335a77 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Fri Feb 10 11:28:43 2012 +0000 +++ b/flys-artifacts/ChangeLog Fri Feb 10 12:09:36 2012 +0000 @@ -1,3 +1,9 @@ +2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: + Argh! Finally found the stupid bug in the W~W relation: + Used iQ1 index on W2(Q2). + 2012-02-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java Fri Feb 10 11:28:43 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java Fri Feb 10 12:09:36 2012 +0000 @@ -949,7 +949,7 @@ return new double[2][0]; } - PolynomialSplineFunction iQ2 = sf1.createIndexQRelation(); + PolynomialSplineFunction iQ2 = sf2.createIndexQRelation(); if (iQ2 == null) { if (errors != null) { errors.addProblem(km2, "cannot.create.index.q.relation");