# HG changeset patch # User Raimund Renkert # Date 1354698314 -3600 # Node ID ca18d8d062182d6a1fbdbbd0bfe61350e57a91ea # Parent f3325079dacc8e38172cabf51b155a470ac3213e Multiplicate diameter with 1000 to have mm instead of m. diff -r f3325079dacc -r ca18d8d06218 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityCalculation.java --- 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,