diff --git a/dumux/common/boundingboxtree.hh b/dumux/common/boundingboxtree.hh index a7954cf9b4bcda61c9448af8d5f0c40ac8842321..da1c09482dec15fd7f4e41ce1bd97d1d0b063317 100644 --- a/dumux/common/boundingboxtree.hh +++ b/dumux/common/boundingboxtree.hh @@ -217,7 +217,7 @@ public: // If the point is not exactly on the plane the // points have to be on the same side const double eps = eps_ * v.two_norm(); - if (t1 < eps && t1 > -eps && std::signbit(t1) != std::signbit(t2)) + if ((t1 > eps || t1 < -eps) && std::signbit(t1) != std::signbit(t2)) return false; } return true;