[PPL-devel] [GIT] ppl/ppl(master): Initialize all elements of Dimension_Kind.

Patricia Hill p.m.hill at leeds.ac.uk
Sun Oct 9 22:27:17 CEST 2011


Module: ppl/ppl
Branch: master
Commit: d003cde962c61c31aaa2b27373b874bd538ff0e1
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=d003cde962c61c31aaa2b27373b874bd538ff0e1

Author: Patricia Hill <p.m.hill at leeds.ac.uk>
Date:   Sun Oct  9 21:25:52 2011 +0100

Initialize all elements of Dimension_Kind.

---

 src/Grid.defs.hh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Grid.defs.hh b/src/Grid.defs.hh
index d9aed82..a5a6249 100644
--- a/src/Grid.defs.hh
+++ b/src/Grid.defs.hh
@@ -1979,9 +1979,9 @@ private:
   dimension_type space_dim;
 
   enum Dimension_Kind {
-    PARAMETER,
-    LINE,
-    GEN_VIRTUAL,
+    PARAMETER = 0,
+    LINE = 1,
+    GEN_VIRTUAL = 2,
     PROPER_CONGRUENCE = PARAMETER,
     CON_VIRTUAL = LINE,
     EQUALITY = GEN_VIRTUAL




More information about the PPL-devel mailing list