Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeCalculation.java @ 4433:5b8919ef601d
Backed out changeset e8a4d2fd25cc
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 07 Nov 2012 12:23:41 +0100 |
parents | e8a4d2fd25cc |
children |
comparison
equal
deleted
inserted
replaced
4432:e8a4d2fd25cc | 4433:5b8919ef601d |
---|---|
243 // TODO: i18n | 243 // TODO: i18n |
244 addProblem(km, "extreme.fitting.failed"); | 244 addProblem(km, "extreme.fitting.failed"); |
245 continue; | 245 continue; |
246 } | 246 } |
247 | 247 |
248 // TODo add max and percent? | |
249 Curve curve = new Curve( | 248 Curve curve = new Curve( |
250 wqs[1], wqs[0], | 249 wqs[1], wqs[0], |
251 function.getName(), | 250 function.getName(), |
252 coeffs, | 251 coeffs, |
253 chiSqr[0]); | 252 chiSqr[0]); |
254 | 253 |
255 log.debug("iC Adding Curve at " + km); | |
256 curves.add(km, curve); | 254 curves.add(km, curve); |
257 | 255 |
258 double [] values = range.getValues(); | 256 double [] values = range.getValues(); |
259 | 257 |
260 int V = Math.min(values.length, wqkms.length); | 258 int V = Math.min(values.length, wqkms.length); |