Fixed issue #481

This commit is contained in:
Matthias Koefferlein 2020-01-23 17:26:12 +01:00
parent 925b7c2f33
commit b1716fc8c4
1 changed files with 1 additions and 0 deletions

View File

@ -424,6 +424,7 @@ private:
for (iterator_type j = c; j < i; ++j) {
if (bs_boxes_overlap (bc (*i->first), bc (*j->first), enl)) {
if (seen.insert (std::make_pair (i->first, j->first)).second) {
seen.insert (std::make_pair (j->first, i->first));
rec.add (i->first, i->second, j->first, j->second);
if (rec.stop ()) {
return false;