changeset 4642:ca18d8d06218

Multiplicate diameter with 1000 to have mm instead of m.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 05 Dec 2012 10:05:14 +0100 (2012-12-05)
parents f3325079dacc
children c2e23c3f29c7
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java	Tue Dec 04 16:16:43 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java	Wed Dec 05 10:05:14 2012 +0100
@@ -194,8 +194,8 @@
             double avCap = calculateAverage(cm, diameter);
             double avSub = calculateAverage(sm, diameter);
             location.add(km);
-            avDiameterCap.add(avCap);
-            avDiameterSub.add(avSub);
+            avDiameterCap.add(avCap * 1000);// bring to mm.
+            avDiameterSub.add(avSub * 1000);
         }
         return new BedDiameterResult(
             diameter,

http://dive4elements.wald.intevation.org