diff --git a/Numeric/GaussQuadraturePyr.cpp b/Numeric/GaussQuadraturePyr.cpp
index dc1401745c1959da27e60f3b90981270a18bf74a..91cd1b3982ab429587354afe2bf42e3450fe475b 100644
--- a/Numeric/GaussQuadraturePyr.cpp
+++ b/Numeric/GaussQuadraturePyr.cpp
@@ -48,7 +48,7 @@ IntPt *getGQPyrPts(int order)
 
       // std::cout << "Points " << iU << " " << iV << " " << iW << std::endl;
 
-      int wt = linWt[iU]*linWt[iV]*GJ20Wt[iW];
+      double wt = linWt[iU]*linWt[iV]*GJ20Wt[iW];
 
       double up = linPt[iU];
       double vp = linPt[iV];
diff --git a/wrappers/gmshpy/gmshGeo.i b/wrappers/gmshpy/gmshGeo.i
index 454361a278689d5b03d77a0ef93958c85a5392f1..fc54a5d28d68919e7dfc8de6ae5bc5ffefc320c0 100644
--- a/wrappers/gmshpy/gmshGeo.i
+++ b/wrappers/gmshpy/gmshGeo.i
@@ -30,6 +30,7 @@
   #include "MTriangle.h"
   #include "MTetrahedron.h"
   #include "MPrism.h"
+  #include "MPyramid.h"
   #include "MHexahedron.h"
   #include "MQuadrangle.h"
   #include "MLine.h"
@@ -122,6 +123,7 @@ namespace std {
 %include "MTriangle.h"
 %include "MTetrahedron.h"
 %include "MPrism.h"
+%include "MPyramid.h"
 %include "MHexahedron.h"
 %include "MQuadrangle.h"
 %include "MLine.h"