# HG changeset patch # User Sascha L. Teichmann # Date 1303487375 0 # Node ID 79401797f4e16b80356bd4bc1e226ad881926368 # Parent f165c7d5d6db0fcc1d5bded0365d6655b5b80f26 Corrected a silly c&p mistake. flys-artifacts/trunk@1744 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r f165c7d5d6db -r 79401797f4e1 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Fri Apr 22 09:57:27 2011 +0000 +++ b/flys-artifacts/ChangeLog Fri Apr 22 15:49:35 2011 +0000 @@ -1,3 +1,8 @@ +2011-04-22 Sascha L. Teichmann + + * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: + Corrected a silly c&p mistake. + 2011-04-22 Sascha L. Teichmann * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: @@ -11,16 +16,16 @@ a - What should happend when you cannot find point 2 because you cannot step back one quarter from point 3 because there - is no data there any more (river too short in this direction)? - The implemented algorithm raises point 3' only to an - according factor. E.g. If you can step back the whole quarter - distance the elevation is the full quarter. If you can - step back only the half of the quarter the elevation is - only an eighth. + is no data there any more (river too short in this direction)? + The implemented algorithm raises point 3' only to an + according factor. E.g. If you can step back the whole quarter + distance the elevation is the full quarter. If you can + step back only the half of the quarter the elevation is + only an eighth. b - If the water heights between point 2 and 3 are constant then the algorithm will produce a spline interpolation that - lowers those values. Is this intended? + lowers those values. Is this intended? For real data the back jumps are expected to be more in the middle of the distance ranges so the corner cases are maybe not so diff -r f165c7d5d6db -r 79401797f4e1 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java Fri Apr 22 09:57:27 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java Fri Apr 22 15:49:35 2011 +0000 @@ -203,7 +203,7 @@ public double [][] cloneWQs() { return new double [][] { (double [])ws.clone(), - (double [])ws.clone() }; + (double [])qs.clone() }; } public double [][] interpolateWQ(Row other, double km, double stepWidth) {