[Dive4elements-commits] [PATCH] Trivial typo in selecting infolding columns

Wald Commits scm-commit at wald.intevation.org
Sun Jan 13 16:33:12 CET 2013


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1358091185 -3600
# Node ID e3532c7850b9b2d53ce83a5acb26f840d8e99808
# Parent  39885bdfc6fc26fca8ccfad2728d5e29a06aa953
Trivial typo in selecting infolding columns.

diff -r 39885bdfc6fc -r e3532c7850b9 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation4.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation4.java	Sun Jan 13 16:18:28 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation4.java	Sun Jan 13 16:33:05 2013 +0100
@@ -251,7 +251,7 @@
 
         boolean [] infoldingColumns = ic.getInfoldingColumns();
         for (int i = 0; i < infoldingColumns.length; ++i) {
-            if (infoldingColumns[i]) {
+            if (!infoldingColumns[i]) {
                 continue;
             }
             double q = columns[i].getQRangeTree().findQ(from);


More information about the Dive4elements-commits mailing list