aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid2
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-03-01 14:36:11 -0500
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:09 +0100
commit9185ffc54482a16ae43cf83ea84daf3b3ee88541 (patch)
treedf5aabc7947b4302e9641265b48fffc2fa3945f1 /Carpet/CarpetRegrid2
parent91c6fb2a157e8357dc510dfd67d7859e55427136 (diff)
Carpet: Make compile with CCTK_REAL=float
Diffstat (limited to 'Carpet/CarpetRegrid2')
-rw-r--r--Carpet/CarpetRegrid2/src/regrid.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetRegrid2/src/regrid.cc b/Carpet/CarpetRegrid2/src/regrid.cc
index 5df3fc57a..df4e10b76 100644
--- a/Carpet/CarpetRegrid2/src/regrid.cc
+++ b/Carpet/CarpetRegrid2/src/regrid.cc
@@ -89,7 +89,7 @@ namespace CarpetRegrid2 {
double(this->_radius.at(rl)[2]));
found_error = true;
}
- if (any (rad < 0.0)) {
+ if (any (rad < CCTK_REAL(0))) {
CCTK_VWarn (CCTK_WARN_ABORT, __LINE__, __FILE__, CCTK_THORNSTRING,
"The radius of refinement level %d of region %d is [%g,%g,%g], which is non-negative",
rl, n + 1,