mirror of https://github.com/CGAL/cgal
Fixed get_offset_location's second version
This commit is contained in:
parent
dc8e2a62d5
commit
4e33192074
|
|
@ -3979,7 +3979,7 @@ Periodic_3_triangulation_3<GT,TDS>::get_location_offset(
|
|||
found = false;
|
||||
|
||||
int cumm_off = c->offset(0) | c->offset(1) | c->offset(2) | c->offset(3);
|
||||
if(cumm_off == 0) {
|
||||
if(cumm_off == 0 && tester(c, Offset())) {
|
||||
// default case:
|
||||
found = true;
|
||||
return Offset();
|
||||
|
|
|
|||
Loading…
Reference in New Issue