aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOASCII
diff options
context:
space:
mode:
authorschnetter <>2004-04-18 11:03:00 +0000
committerschnetter <>2004-04-18 11:03:00 +0000
commit5215c601e44097e207dac6da688abfd8403b72d0 (patch)
tree4afd5d8ab2057750ba991edc66de0bd135020d26 /Carpet/CarpetIOASCII
parentffc85540493a8dd65a89d51081e671608b49a4f8 (diff)
Change the bbox iterators to be cyclic.
Change the bbox iterators to be cyclic. Update ASCII output to use the new iterators. darcs-hash:20040418110344-07bb3-1ea594b79f3031dbc38101d15a65b9aafcf3b005.gz
Diffstat (limited to 'Carpet/CarpetIOASCII')
-rw-r--r--Carpet/CarpetIOASCII/src/ioascii.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetIOASCII/src/ioascii.cc b/Carpet/CarpetIOASCII/src/ioascii.cc
index 8684ae6e8..144b6e660 100644
--- a/Carpet/CarpetIOASCII/src/ioascii.cc
+++ b/Carpet/CarpetIOASCII/src/ioascii.cc
@@ -31,7 +31,7 @@
#include "ioascii.hh"
extern "C" {
- static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.cc,v 1.67 2004/04/03 12:38:12 schnetter Exp $";
+ static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.cc,v 1.68 2004/04/18 13:03:44 schnetter Exp $";
CCTK_FILEVERSION(Carpet_CarpetIOASCII_ioascii_cc);
}
@@ -1018,7 +1018,7 @@ namespace CarpetIOASCII {
++it;
- for (int d=DD-1; d>=0; --d) {
+ for (int d=0; d<DD; ++d) {
if ((*it)[d]!=(*ext.end())[d]) break;
os << endl;
}