This commit is contained in:
Greg Landrum
2024-01-23 13:17:30 +01:00
committed by GitHub
parent 9ca7a2e00d
commit efd7922372

View File

@@ -109,7 +109,7 @@ TEST_CASE("connectLineSegments", "[conrec]") {
for (const auto &pt : pts) {
auto dv = loc - pt;
auto r = dv.length();
if (r > 0) {
if (r > 1e-4) {
val += 1 / r;
}
}