From 1c722e012ca9e951a40166126fdbeea2a95f28b7 Mon Sep 17 00:00:00 2001 From: benEnsta Date: Sun, 18 Oct 2020 13:50:08 +0200 Subject: [PATCH] [thickset] fix bug in ThickBox is_not_subset --- src/pyibex_thickset/lib/ThickBox_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyibex_thickset/lib/ThickBox_impl.hpp b/src/pyibex_thickset/lib/ThickBox_impl.hpp index 9fe37d3..e8df942 100755 --- a/src/pyibex_thickset/lib/ThickBox_impl.hpp +++ b/src/pyibex_thickset/lib/ThickBox_impl.hpp @@ -80,7 +80,7 @@ inline bool ThickBox::intersects(const IntervalVector& box) const { } inline bool ThickBox::is_not_subset(const IntervalVector& box) const { - bool res = true; + bool res = false; for (int i = 0; i < box.size(); i++){ res |= itvs[i].is_not_subset(ThickInterval(box[i])); }