diff --git a/Intersections_3/include/CGAL/Intersections_3/internal/Iso_cuboid_3_Plane_3_intersection.h b/Intersections_3/include/CGAL/Intersections_3/internal/Iso_cuboid_3_Plane_3_intersection.h index 69e0b6198b9..2cbb0a7f0f2 100644 --- a/Intersections_3/include/CGAL/Intersections_3/internal/Iso_cuboid_3_Plane_3_intersection.h +++ b/Intersections_3/include/CGAL/Intersections_3/internal/Iso_cuboid_3_Plane_3_intersection.h @@ -125,7 +125,7 @@ intersection( { all_in = false; // check for intersection of the edge - if (orientations[next_id] != ON_NEGATIVE_SIDE) + if (orientations[next_id] == ON_NEGATIVE_SIDE) { ids.push_back( inter_pt_index(current_id, next_id, plane, corners, id_map));