From a62e5538e4f7366649dd56167b3ec4bfd8164bd9 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sat, 21 May 2011 15:13:13 +0000
Subject: [PATCH]

---
 Geo/MHexahedron.h | 2 +-
 Geo/MPrism.h      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Geo/MHexahedron.h b/Geo/MHexahedron.h
index 4c0d7df753..a5cebba920 100644
--- a/Geo/MHexahedron.h
+++ b/Geo/MHexahedron.h
@@ -232,7 +232,7 @@ class MHexahedron20 : public MHexahedron {
                                 9, 10, 12, 14, 15, 16, 18, 19, 17};
     return getVertex(map[num]);
   }
-  virtual MVertex *getVertexINP(int num){ return getVertexBDF(); }
+  virtual MVertex *getVertexINP(int num){ return getVertexBDF(num); }
   virtual MVertex *getVertexDIFF(int num)
   {
     static const int map[20] = {2, 3, 7, 6, 0, 1, 5, 4, 9, 18, 12,
diff --git a/Geo/MPrism.h b/Geo/MPrism.h
index 7e7ec8545d..e4767906c5 100644
--- a/Geo/MPrism.h
+++ b/Geo/MPrism.h
@@ -233,7 +233,7 @@ class MPrism15 : public MPrism {
     static const int map[15] = {0, 1, 2, 3, 4, 5, 6, 9, 7, 8, 10, 11, 12, 14, 13};
     return getVertex(map[num]);
   }
-  virtual MVertex *getVertexINP(int num){ return getVertexBDF(); }
+  virtual MVertex *getVertexINP(int num){ return getVertexBDF(num); }
   virtual int getNumEdgeVertices() const { return 9; }
   virtual int getNumEdgesRep(){ return 18; }
   virtual void getEdgeRep(int num, double *x, double *y, double *z, SVector3 *n)
-- 
GitLab