diff options
Diffstat (limited to 'Carpet/CarpetLib/src/interpolate_3d_2tl.cc')
-rw-r--r-- | Carpet/CarpetLib/src/interpolate_3d_2tl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/interpolate_3d_2tl.cc b/Carpet/CarpetLib/src/interpolate_3d_2tl.cc index ddfe15254..33c00d8fd 100644 --- a/Carpet/CarpetLib/src/interpolate_3d_2tl.cc +++ b/Carpet/CarpetLib/src/interpolate_3d_2tl.cc @@ -119,7 +119,7 @@ namespace CarpetLib { // Linear (first order) interpolation RT const eps = 1.0e-10; - if (abs (t1 - t2) < eps) { + if (fabs (t1 - t2) < eps) { CCTK_WARN (0, "Internal error: arrays have same time"); } if (t < min (t1, t2) - eps or t > max (t1, t2) + eps) { |