Skip to content

Commit 92aaacf

Browse files
authored
Remove bad offset initialization (#8848)
## Release Management * Affected package(s): `Periodic_3_mesh3` * Issue(s) solved (if any): - * Feature/Small Feature (if any): n/a * License and copyright ownership: no change
2 parents f975f7e + 18eb5b4 commit 92aaacf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Periodic_3_mesh_3/include/CGAL/Periodic_3_mesh_triangulation_3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,6 @@ class Periodic_3_regular_triangulation_3_wrapper
964964

965965
// get the offset of the first weighted circumcenter
966966
Offset transl_wc1;
967-
transl_wc1.x() += 1;
968967
for(;;) /* while not in */
969968
{
970969
// can safely perform a construction here because the kernel has exact constructions
@@ -991,6 +990,7 @@ class Periodic_3_regular_triangulation_3_wrapper
991990
for(;;) /* while not in */
992991
{
993992
dp = etraits.construct_point_3_object()(exact_wc2, transl_wc2);
993+
994994
if(compute_x(dp) < dom.xmin())
995995
transl_wc2.x() += 1;
996996
else if(compute_y(dp) < dom.ymin())

0 commit comments

Comments
 (0)