[PATCH 1 of 3] Doc, comment

Wald Commits scm-commit at wald.intevation.org
Fri Sep 20 14:12:48 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1379587926 -7200
# Node ID fabb5e7a3b66ac84b9db11f35335be8e48fc8c9f
# Parent  4713bc0cc0eebb36f5b2c333748f68099f0615f5
Doc, comment.

diff -r 4713bc0cc0ee -r fabb5e7a3b66 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 Sep 19 17:08:02 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadCalculation.java	Thu Sep 19 12:52:06 2013 +0200
@@ -213,6 +213,7 @@
         }
     }
 
+    /** Calculate result for an epoch. */
     private SedimentLoadResult calculateEpoch(int i) {
         List<SedimentLoad> epochLoads = new ArrayList<SedimentLoad>();
         for (int j = epoch[i][0]; j < epoch[i][1]; j++) {
@@ -221,8 +222,8 @@
                 this.yearEpoch,
                 this.kmLow,
                 this.kmUp,
-                j,
-                j));
+                j, //syear
+                j)); //eyear
         }
 
         SedimentLoad resLoad = new SedimentLoad();


More information about the Dive4elements-commits mailing list