summaryrefslogtreecommitdiff
path: root/lib/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src')
-rw-r--r--lib/src/network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/network.cpp b/lib/src/network.cpp
index 250a38e..47e5851 100644
--- a/lib/src/network.cpp
+++ b/lib/src/network.cpp
@@ -296,8 +296,8 @@ void elastic_network::fracture(hooks& m, double weight, double cutoff) {
current_info cx = hook_x.solve(fuses);
current_info cy = hook_y.solve(fuses);
- bool done_x = cx.conductivity < 0.1 / G.edges.size();
- bool done_y = cy.conductivity < 0.1 / G.edges.size();
+ bool done_x = cx.conductivity < 1.0 / G.edges.size();
+ bool done_y = cy.conductivity < 1.0 / G.edges.size();
if (done_x && done_y) {
break;