Fix assertion with explicit boolean conversion

This commit is contained in:
Simon Giraudot 2020-07-21 11:23:24 +02:00
parent a43b994425
commit 94155bd89e
1 changed files with 1 additions and 1 deletions

View File

@ -722,7 +722,7 @@ public:
// Intersect the two supporting lines.
auto res = kernel.intersect_2_object()(cv1.line(), cv2.line());
CGAL_assertion(res);
CGAL_assertion(bool(res));
// Check if we have a single intersection point.
const Point_2* ip = boost::get<Point_2>(&*res);