From 0bba9fcee5e67daa482b89b5d813b23d10474b7f Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Mon, 10 Dec 2018 16:33:08 -0500 Subject: fixed initialization error introduced in change to log thresholds—start with the lowest possible long double, not zero MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/measurements.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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::lowest(); avalanches = {{}}; boost::remove_edge_if(trivial, G); } -- cgit v1.2.3-70-g09d2