Merge pull request #4667 from rewolff/master

Fixed unusable error message
This commit is contained in:
Laurent Rineau 2020-04-19 14:51:19 +02:00
commit 0b48d2867d
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ struct Facet_plane_3 {
CGAL_NEF_TRACEN( *point_cir);
CGAL_NEF_TRACEN(internal::Plane_constructor<Plane>::get_type_plane(*point_cir, Vector( plane_orthogonal_vector)));
if(plane_orthogonal_vector == Vector(0,0,0))
std::cerr << "Error !!!!!!!!!!!!!!!!!!!!!!!" << std::endl;
std::cerr << "Error: Normal vector cannot be (0,0,0)" << std::endl;
return(internal::Plane_constructor<Plane>::get_type_plane( *point_cir, Vector( plane_orthogonal_vector)));
}
};