Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java @ 1681:e5f7f25a511c
fixed flys/issue201
flys-artifacts/trunk@2899 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 05 Oct 2011 16:58:38 +0000 |
parents | 1ea7eb72aaa6 |
children | eb35570df0e8 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java Wed Oct 05 15:04:00 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java Wed Oct 05 16:58:38 2011 +0000 @@ -486,7 +486,7 @@ rowIndex = -rowIndex -1; - if (rowIndex < 1 || rowIndex >= R1) { + if (rowIndex < 1 || rowIndex > R1) { // do not extrapolate return false; } @@ -571,7 +571,7 @@ rowIndex = -rowIndex -1; - if (rowIndex < 1 || rowIndex >= R1) { + if (rowIndex < 1 || rowIndex > R1) { // do not extrapolate if (errors != null) { errors.addProblem(kms[i], "cannot find km");