[PATCH 2 of 4] Reactivatd random stuff

Wald Commits scm-commit at wald.intevation.org
Mon Feb 19 18:04:45 CET 2018


# HG changeset patch
# User gernotbelger
# Date 1519059832 -3600
# Node ID b6f7961e4cc5bcd9028f606c78b8acf72a28af43
# Parent  a66f2a7c4f84d3e390afee69d5c96ae4e1c4800e
Reactivatd random stuff

diff -r a66f2a7c4f84 -r b6f7961e4cc5 artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculation.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculation.java	Thu Feb 15 18:40:40 2018 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculation.java	Mon Feb 19 18:03:52 2018 +0100
@@ -203,7 +203,7 @@
                 // FIXME: calculate tkh
 
                 // REMARK: bissl spielerei zum testen damit die sohlart nicht zu schnell wechselt
-                final boolean changeKind = false; // Math.random() > 0.95;
+                final boolean changeKind = Math.random() > 0.95;
                 SoilKind kind;
                 if (changeKind) {
                     switch (lastKind) {


More information about the Dive4Elements-commits mailing list