# HG changeset patch # User mschaefer # Date 1532930685 -7200 # Node ID 1899595a807045e7ed895f10822b7d8833ac2bcb # Parent 7dc238bd062c27b979cdc7328f69438d582809b5 Fixed: corrected error condition diff -r 7dc238bd062c -r 1899595a8070 artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/FlowVelocityModelKmValueFinder.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/FlowVelocityModelKmValueFinder.java Mon Jul 30 08:03:46 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhcalculation/FlowVelocityModelKmValueFinder.java Mon Jul 30 08:04:45 2018 +0200 @@ -306,7 +306,7 @@ final boolean found = doFindKmQValues(km, q); - if (this.problems != null) { + if (!found && (this.problems != null)) { this.problems.addProblem(km, "flowvelocitymodelkmvaluefinder.missing");