aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Carpet/CarpetLib/src/vect.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/vect.hh b/Carpet/CarpetLib/src/vect.hh
index 4d82b6c43..7a76969c7 100644
--- a/Carpet/CarpetLib/src/vect.hh
+++ b/Carpet/CarpetLib/src/vect.hh
@@ -1,4 +1,4 @@
-// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/vect.hh,v 1.23 2004/02/18 15:10:45 schnetter Exp $
+// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/vect.hh,v 1.24 2004/02/27 10:25:23 schnetter Exp $
#ifndef VECT_HH
#define VECT_HH
@@ -45,7 +45,7 @@ class vect {
// Fields
/** Vector elements. */
- T elt[D];
+ T elt[D==0 ? 1 : D];
public: