diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-06-12 10:37:55 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-06-12 10:37:55 -0400 |
commit | bfb1bb5d9172fea3fd6bd28a4ad388dbdcbe8200 (patch) | |
tree | 87dc4e79c71bfafe0f922bac94313ee12b32758f /src | |
parent | e76333883d3620622ac616b7ca68a8baf459c640 (diff) | |
download | fuse_networks-bfb1bb5d9172fea3fd6bd28a4ad388dbdcbe8200.tar.gz fuse_networks-bfb1bb5d9172fea3fd6bd28a4ad388dbdcbe8200.tar.bz2 fuse_networks-bfb1bb5d9172fea3fd6bd28a4ad388dbdcbe8200.zip |
same fix for fracture measurements
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 aa0617c..eaa34ee 100644 --- a/src/measurements.cpp +++ b/src/measurements.cpp @@ -275,7 +275,7 @@ void ma::post_fracture(network &n) { std::vector<bool> 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; } |