From bfb1bb5d9172fea3fd6bd28a4ad388dbdcbe8200 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Wed, 12 Jun 2019 10:37:55 -0400 Subject: same fix for fracture measurements --- 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 aa0617c..eaa34ee 100644 --- a/src/measurements.cpp +++ b/src/measurements.cpp @@ -275,7 +275,7 @@ void ma::post_fracture(network &n) { std::vector vertex_in(n.G.vertices.size()); for (unsigned i = 0; i < n.G.edges.size(); i++) { - if (ct.currents[i] > 1.0 / n.G.edges.size()) { + if (ct.currents[i] > CURRENT_CUTOFF) { vertex_in[n.G.edges[i].v[0]] = true; vertex_in[n.G.edges[i].v[1]] = true; } -- cgit v1.2.3-70-g09d2