diff --git a/Common/GmshMatrix.h b/Common/GmshMatrix.h
index 67c9b0a4a2836ae9cfa017a04be8cb60012d7dce..c078b80bed2bb8cdad6ee4b98438b40f06dbc754 100644
--- a/Common/GmshMatrix.h
+++ b/Common/GmshMatrix.h
@@ -100,6 +100,14 @@ public:
   {
     throw;
   }
+  inline void least_squares (const GSL_Vector & rhs, GSL_Vector & result)
+  {
+    throw;
+  }
+  inline void lu_solve (const GSL_Vector & rhs, GSL_Vector & result)
+  {
+    throw;
+  }
 };
 
 #ifdef HAVE_GSL