diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-12-10 16:33:08 -0500 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-12-10 16:33:08 -0500 |
commit | 0bba9fcee5e67daa482b89b5d813b23d10474b7f (patch) | |
tree | e9969773b170939021a126b7d0abaff9beb89453 /src | |
parent | f1825b6ca420f63e17ca69e3c9412b80adcdbb1c (diff) | |
download | fuse_networks-0bba9fcee5e67daa482b89b5d813b23d10474b7f.tar.gz fuse_networks-0bba9fcee5e67daa482b89b5d813b23d10474b7f.tar.bz2 fuse_networks-0bba9fcee5e67daa482b89b5d813b23d10474b7f.zip |
fixed initialization error introduced in change to log thresholds—start with the lowest possible long double, not zero
Diffstat (limited to 'src')
-rw-r--r-- | src/measurements.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/measurements.cpp b/src/measurements.cpp index 98795f1..c8cc73c 100644 --- a/src/measurements.cpp +++ b/src/measurements.cpp @@ -286,7 +286,7 @@ ma::~ma() { } void ma::pre_fracture(const network &) { - lv = 0; + lv = std::numeric_limits<long double>::lowest(); avalanches = {{}}; boost::remove_edge_if(trivial, G); } |