diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffCalculation.java @ 8151:a709e6334c4a

IDs can be assumed to be unique.
author Tom Gottfried <tom@intevation.de>
date Thu, 28 Aug 2014 18:42:20 +0200
parents b5cba2690347
children 856701739443
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffCalculation.java	Thu Aug 28 15:34:57 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffCalculation.java	Thu Aug 28 18:42:20 2014 +0200
@@ -65,8 +65,8 @@
     /** Get two BedHeights from factory. */
     private static BedHeightData [] getHeightPair(int [] ids, String type) {
         return new BedHeightData [] {
-            BedHeightFactory.getHeight(type, ids[0], 0),
-            BedHeightFactory.getHeight(type, ids[1], 0)
+            BedHeightFactory.getHeight(type, ids[0]),
+            BedHeightFactory.getHeight(type, ids[1])
         };
     }
 

http://dive4elements.wald.intevation.org