summaryrefslogtreecommitdiff
path: root/src/measurements.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/measurements.cpp')
-rw-r--r--src/measurements.cpp2
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;
}