Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java @ 742:c09c9e05ecfa
Removed trailing whitespace.
flys-artifacts/trunk@2243 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 26 Jun 2011 17:18:59 +0000 |
parents | eab5e5089d77 |
children | 1ea7eb72aaa6 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java Sun Jun 26 17:06:35 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java Sun Jun 26 17:18:59 2011 +0000 @@ -230,7 +230,7 @@ } public double [][] interpolateWQ( - int steps, + int steps, WstValueTable table, Calculation errors ) { @@ -246,8 +246,8 @@ double [] splineQ = new double[W]; - double minQ = Double.MAX_VALUE; - double maxQ = -Double.MAX_VALUE; + double minQ = Double.MAX_VALUE; + double maxQ = -Double.MAX_VALUE; for (int i = 0; i < W; ++i) { double sq = table.getQIndex(i, km); @@ -270,7 +270,7 @@ SplineInterpolator interpolator = new SplineInterpolator(); PolynomialSplineFunction spline; - + try { spline = interpolator.interpolate(splineQ, ws); } @@ -333,8 +333,8 @@ ow = other.ws[index]; } else { - tw = Linear.weight(weight, ws[index-1], ws[index]); - ow = Linear.weight(weight, other.ws[index-1], other.ws[index]); + tw = Linear.weight(weight, ws[index-1], ws[index]); + ow = Linear.weight(weight, other.ws[index-1], other.ws[index]); } return Linear.weight(kmWeight, tw, ow); @@ -369,7 +369,7 @@ public double [] interpolateW( double km, - double [] qs, + double [] qs, double [] ws, Calculation errors ) {