Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java @ 3163:dad513d5ce37
FixA: Interpolated and measured values where switched.
flys-artifacts/trunk@4775 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 25 Jun 2012 11:55:34 +0000 |
parents | cd8d81b2824d |
children | 6b13d7e7b403 |
comparison
equal
deleted
inserted
replaced
3162:0d8146989012 | 3163:dad513d5ce37 |
---|---|
219 for (int i = 0; i < kms.length; ++i) { | 219 for (int i = 0; i < kms.length; ++i) { |
220 double km = kms[i]; | 220 double km = kms[i]; |
221 | 221 |
222 // Fill Qs and Ws from event columns. | 222 // Fill Qs and Ws from event columns. |
223 for (int j = 0; j < ws.length; ++j) { | 223 for (int j = 0; j < ws.length; ++j) { |
224 interpolated[j] = eventColumns.get(j).getQW(km, qs, ws, j); | 224 interpolated[j] = !eventColumns.get(j).getQW(km, qs, ws, j); |
225 } | 225 } |
226 | 226 |
227 fitting.reset(); | 227 fitting.reset(); |
228 | 228 |
229 if (!fitting.fit(qs, ws)) { | 229 if (!fitting.fit(qs, ws)) { |