[Dive4elements-commits] [PATCH] declare nextStep variable for future use

Wald Commits scm-commit at wald.intevation.org
Thu Jun 20 10:00:27 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1371715781 -7200
# Node ID 2f39cf68a1ddd0601ee30fe4b4207bade4938869
# Parent  48e92ff57f236130084748cc05074df9ff510c1e
declare nextStep variable for future use.

diff -r 48e92ff57f23 -r 2f39cf68a1dd artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java	Thu Jun 20 09:06:23 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java	Thu Jun 20 10:09:41 2013 +0200
@@ -292,6 +292,7 @@
             logger.warn("Some problem, not calculating total load.");
             return load;
         }
+        double nextStep = 0;
         for(double km : load.getKms()) {
             SedimentLoadFraction fraction = load.getFraction(km);
             double total = 0d;


More information about the Dive4elements-commits mailing list