aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src
diff options
context:
space:
mode:
authorschnetter <>2004-02-03 13:33:00 +0000
committerschnetter <>2004-02-03 13:33:00 +0000
commite9266746408e0581a57f00877e5e22209f5e64f7 (patch)
treef00745e7d06ab56fe5ca203ebaceb4a3dd1449c2 /Carpet/CarpetLib/src
parent6255d4a6ab4406be6136b4cbbec90aa4aad3dd1a (diff)
Some sanity checking to fend off evil C++ compilers
darcs-hash:20040203133302-07bb3-6468aba36ff7aceb42c9d34f1d859ce44cd9e860.gz
Diffstat (limited to 'Carpet/CarpetLib/src')
-rw-r--r--Carpet/CarpetLib/src/data.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/data.cc b/Carpet/CarpetLib/src/data.cc
index 6f65158b8..05beb74b9 100644
--- a/Carpet/CarpetLib/src/data.cc
+++ b/Carpet/CarpetLib/src/data.cc
@@ -1,4 +1,4 @@
-// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/data.cc,v 1.39 2004/01/25 14:57:29 schnetter Exp $
+// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/data.cc,v 1.40 2004/02/03 14:33:02 schnetter Exp $
#include <assert.h>
#include <limits.h>
@@ -740,6 +740,7 @@ void data<CCTK_REAL8,3>
CCTK_REAL min_time = times[0];
CCTK_REAL max_time = times[0];
for (size_t tl=1; tl<times.size(); ++tl) {
+ assert (min(1.3, 1.4) > 1.2);
min_time = min(min_time, times[tl]);
max_time = max(max_time, times[tl]);
}