Fix not forwarding verbose NP to inner functions

This commit is contained in:
Mael Rouxel-Labbé 2023-04-18 11:20:04 +02:00
parent 8ec3949272
commit 451223a2e8
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ bool read_polygon_mesh(const std::string& fname,
std::vector<Point> points;
std::vector<std::vector<std::size_t> > faces;
if(!CGAL::IO::read_polygon_soup(fname, points, faces))
if(!CGAL::IO::read_polygon_soup(fname, points, faces, CGAL::parameters::verbose(verbose)))
{
if(verbose)
std::cerr << "Warning: cannot read polygon soup" << std::endl;