From 78d2ebf34204aa792acaf458ceebe9058829c7c1 Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Fri, 25 Jan 2013 20:41:21 +0100 Subject: [PATCH 1/2] small correction --- .../include/CGAL/Combinatorial_map_operations.h | 2 +- .../include/CGAL/internal/Combinatorial_map_functors.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Combinatorial_map/include/CGAL/Combinatorial_map_operations.h b/Combinatorial_map/include/CGAL/Combinatorial_map_operations.h index 2fcc17cb842..9b7ec63b201 100644 --- a/Combinatorial_map/include/CGAL/Combinatorial_map_operations.h +++ b/Combinatorial_map/include/CGAL/Combinatorial_map_operations.h @@ -275,7 +275,7 @@ namespace CGAL { { if ( i==1 || d1 > *store ) { - if ( i==j ) return; - const int mark_for_jcells = mark_for_incident_cells [Map::Helper::template Dimension_index::value]; + amap->negate_mark( mark_for_jcells ); + + if ( i==j ) return; + std::deque >& jcells = store[Map::Helper::template Dimension_index::value]; @@ -533,8 +535,6 @@ namespace CGAL { typename Map::Helper::template Attribute_handle::type a2=NULL; - amap->negate_mark( mark_for_jcells ); - for ( typename std::deque >:: iterator it=jcells.begin(); it!=jcells.end(); ++it ) { From 5b36822e764a1c3012018fdd81dfccf06173639c Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Fri, 25 Jan 2013 21:48:39 +0100 Subject: [PATCH 2/2] Bug fix: can be improve later --- Combinatorial_map/include/CGAL/Combinatorial_map_operations.h | 4 +++- .../include/CGAL/internal/Combinatorial_map_functors.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Combinatorial_map/include/CGAL/Combinatorial_map_operations.h b/Combinatorial_map/include/CGAL/Combinatorial_map_operations.h index 9b7ec63b201..e045941c888 100644 --- a/Combinatorial_map/include/CGAL/Combinatorial_map_operations.h +++ b/Combinatorial_map/include/CGAL/Combinatorial_map_operations.h @@ -275,7 +275,6 @@ namespace CGAL { { if ( i==1 || d1template attribute(); - a1->set_dart(*itj); + // TODO a1->set_dart(*itj); } for ( CMap_dart_iterator_basic_of_cell