aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid2
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-08-25 22:45:42 -0400
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:33 +0100
commitb5d568efed95a2cbaa01882b933f4044babcf88f (patch)
tree2b5aad78effd9c26ed6a0867389569986f1d2cc4 /Carpet/CarpetRegrid2
parentedd0bb72725338b606bf42e737023b690217dda1 (diff)
CarpetRegrid2: Correct error message
Diffstat (limited to 'Carpet/CarpetRegrid2')
-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;