Mercurial > dive4elements > river
changeset 7612:61940bae77b5
BedQualityExporter: Fix ancient i/j variable mix-up.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 28 Nov 2013 10:14:33 +0100 |
parents | a11985bb743f |
children | 505737373ba4 |
files | artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java Thu Nov 28 10:13:53 2013 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityExporter.java Thu Nov 28 10:14:33 2013 +0100 @@ -76,7 +76,7 @@ } BedloadDiameterResult[] loads = results[i].getBedloadResults(); for (int j = 0; j < loads.length; j++) { - TDoubleArrayList lkms = loads[i].getKms(); + TDoubleArrayList lkms = loads[j].getKms(); for (int k = 0, L = lkms.size(); k < L; k++) { double km = lkms.get(k); if (!kms.contains(km)) { // XXX: O(N^2)