aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-08-25 22:45:42 -0400
committerErik Schnetter <schnetter@gmail.com>2012-08-25 22:45:42 -0400
commit2559de27a8269343269c0f6f664e903dedbfc0af (patch)
treecce5dc1c744b5264837817170b98a39dacf11594
parentf99f82d30949225b6938fcf69cac1015ac3a2033 (diff)
CarpetRegrid2: Correct error message
-rw-r--r--Carpet/CarpetRegrid2/src/regrid.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/Carpet/CarpetRegrid2/src/regrid.cc b/Carpet/CarpetRegrid2/src/regrid.cc
index 20493f402..908b58f7b 100644
--- a/Carpet/CarpetRegrid2/src/regrid.cc
+++ b/Carpet/CarpetRegrid2/src/regrid.cc
@@ -84,18 +84,14 @@ namespace CarpetRegrid2 {
CCTK_VWarn (CCTK_WARN_ABORT, __LINE__, __FILE__, CCTK_THORNSTRING,
"The radius of refinement level %d of region %d is [%g,%g,%g], which is not finite",
rl, n + 1,
- double(this->_radius.at(rl)[0]),
- double(this->_radius.at(rl)[1]),
- double(this->_radius.at(rl)[2]));
+ double(rad[0]), double(rad[1]), double(rad[2]));
found_error = true;
}
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,
- double(this->_radius.at(rl)[0]),
- double(this->_radius.at(rl)[1]),
- double(this->_radius.at(rl)[2]));
+ double(rad[0]), double(rad[1]), double(rad[2]));
found_error = true;
}
this->_radius.at(rl) = rad;