follow up of fac4a6ad also patch the cmap output builder

This commit is contained in:
Sébastien Loriot 2017-09-08 11:16:20 +02:00
parent d5d8ddecba
commit 552e059b01
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ void sew_2_marked_darts( Combinatorial_map_3& final_map,
if ( final_map.template attribute<0>(dart_1)->point() != nodes[ src_index ] ) if ( final_map.template attribute<0>(dart_1)->point() != nodes[ src_index ] )
std::swap(dart_1,dart_2); std::swap(dart_1,dart_2);
int nb_segs=polyline_info.second-1,k=1; int nb_segs=polyline_info.second+1,k=1;
do { do {
CGAL_precondition( final_map.template is_sewable<2>(dart_1,dart_2) ); CGAL_precondition( final_map.template is_sewable<2>(dart_1,dart_2) );