Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/fixings/FixCalculation.java @ 7300:83bb52fa0c32
(issue1529) Be more tolerant in the fitting.
The invalid value warning is removed because invalid data
is expected there when datapoints are not valid for this KM
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 11 Oct 2013 18:40:33 +0200 |
parents | a56fe3bc6700 |
children | 6650485c2c9b |
comparison
equal
deleted
inserted
replaced
7299:cde863b2dae3 | 7300:83bb52fa0c32 |
---|---|
361 } | 361 } |
362 | 362 |
363 fitting.reset(); | 363 fitting.reset(); |
364 | 364 |
365 if (!fitting.fit(qs, ws)) { | 365 if (!fitting.fit(qs, ws)) { |
366 log.debug("Fitting for km: " + km + " failed"); | |
366 ++numFailed; | 367 ++numFailed; |
367 addProblem(km, "fix.fitting.failed"); | 368 addProblem(km, "fix.fitting.failed"); |
368 continue; | 369 continue; |
369 } | 370 } |
370 | 371 |