Fixed get_offset_location's second version

This commit is contained in:
Mael Rouxel-Labbé 2017-06-22 16:02:37 +02:00
parent dc8e2a62d5
commit 4e33192074
1 changed files with 1 additions and 1 deletions

View File

@ -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();