comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/FlowVelocityModelKmValueFinder.java @ 9336:1899595a8070

Fixed: corrected error condition
author mschaefer
date Mon, 30 Jul 2018 08:04:45 +0200
parents 5be112fba832
children
comparison
equal deleted inserted replaced
9335:7dc238bd062c 9336:1899595a8070
304 public boolean findKmQValues(final double km, final double q) { 304 public boolean findKmQValues(final double km, final double q) {
305 this.findQ = q; 305 this.findQ = q;
306 306
307 final boolean found = doFindKmQValues(km, q); 307 final boolean found = doFindKmQValues(km, q);
308 308
309 if (this.problems != null) { 309 if (!found && (this.problems != null)) {
310 310
311 this.problems.addProblem(km, "flowvelocitymodelkmvaluefinder.missing"); 311 this.problems.addProblem(km, "flowvelocitymodelkmvaluefinder.missing");
312 312
313 // report only once 313 // report only once
314 this.problems = null; 314 this.problems = null;

http://dive4elements.wald.intevation.org