aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2007-02-07 04:42:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2007-02-07 04:42:00 +0000
commita244f6f476e7271ddf7b1d46d9e6f03ab385621e (patch)
tree8585dac8e92500e6541d216b5122edba785b3dde
parentb84825e32dd375434d8633dbd6c3d793890002fd (diff)
CarpetLib: Correct error in bbox::size()
darcs-hash:20070207044227-dae7b-0d81f6729bfdc85b8541c6690eaedef7a5f24212.gz
-rw-r--r--Carpet/CarpetLib/src/bbox.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/bbox.cc b/Carpet/CarpetLib/src/bbox.cc
index f24ccea9a..63f3b73b9 100644
--- a/Carpet/CarpetLib/src/bbox.cc
+++ b/Carpet/CarpetLib/src/bbox.cc
@@ -17,7 +17,7 @@ using namespace std;
template<class T, int D>
T bbox<T,D>::size () const {
if (empty()) return 0;
- const vect<T,D> sh(shape()/stride()+T(1));
+ const vect<T,D> sh(shape()/stride());
#ifdef NDEBUG
return prod(sh);
#else