diff --git a/src/opt_group.f90 b/src/opt_group.f90 index 03b3063..be87611 100644 --- a/src/opt_group.f90 +++ b/src/opt_group.f90 @@ -364,7 +364,7 @@ module opt_group if (max_remesh) then - max_loops = (remesh_size-2)/2 + max_loops = (remesh_size-3)/2 else max_loops = 1 end if