Update region_block_kokkos.cpp

This commit is contained in:
alphataubio
2024-10-07 15:12:10 -04:00
parent 177b04fb56
commit 0e1ee42b89

View File

@ -207,7 +207,7 @@ int RegBlockKokkos<DeviceType>::surface_exterior(double *x, double cutoff)
else
zp = x[2];
} else {
mindist = BIG;
mindist = MAXDOUBLEINT;
for (int i = 0; i < 6; i++) {
if (open_faces[i]) continue;
dist = find_closest_point(i, x, xc, yc, zc);