summaryrefslogtreecommitdiff
path: root/lib/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src')
-rw-r--r--lib/src/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/src/network.cpp b/lib/src/network.cpp
index 8af140b..9addfdd 100644
--- a/lib/src/network.cpp
+++ b/lib/src/network.cpp
@@ -249,7 +249,7 @@ void network::fracture(hooks& m, double cutoff) {
while (true) {
auto currents = this->currents();
- if (currents.first < cutoff) {
+ if (currents.first < cutoff * G.vertices.size()) {
break;
}