Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java @ 5379:61bf64b102bc mapgenfix
Merge with default branch
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Fri, 22 Mar 2013 11:25:54 +0100 |
parents | 14db045d6368 |
children | f4fd64a4d502 |
comparison
equal
deleted
inserted
replaced
5175:cfc5540a4eec | 5379:61bf64b102bc |
---|---|
149 public double [] findQs(double [] kms, Calculation report) { | 149 public double [] findQs(double [] kms, Calculation report) { |
150 return findQs(kms, new double[kms.length], report); | 150 return findQs(kms, new double[kms.length], report); |
151 } | 151 } |
152 | 152 |
153 public double [] findQs( | 153 public double [] findQs( |
154 double [] kms, | 154 double [] kms, |
155 double [] qs, | 155 double [] qs, |
156 Calculation report | 156 Calculation report |
157 ) { | 157 ) { |
158 for (int i = 0; i < kms.length; ++i) { | 158 for (int i = 0; i < kms.length; ++i) { |
159 if (Double.isNaN(qs[i] = findQ(kms[i]))) { | 159 if (Double.isNaN(qs[i] = findQ(kms[i]))) { |
160 report.addProblem(kms[i], "cannot.find.q"); | 160 report.addProblem(kms[i], "cannot.find.q"); |