diff --git a/Common/GmshMatrix.h b/Common/GmshMatrix.h
index c078b80bed2bb8cdad6ee4b98438b40f06dbc754..9f4857092ab9c18e64750a15cdc0b4faab628cca 100644
--- a/Common/GmshMatrix.h
+++ b/Common/GmshMatrix.h
@@ -100,11 +100,11 @@ public:
   {
     throw;
   }
-  inline void least_squares (const GSL_Vector & rhs, GSL_Vector & result)
+  inline void least_squares (const Gmsh_Vector<SCALAR> & rhs, Gmsh_Vector<SCALAR> & result)
   {
     throw;
   }
-  inline void lu_solve (const GSL_Vector & rhs, GSL_Vector & result)
+  inline void lu_solve (const Gmsh_Vector<SCALAR> & rhs, Gmsh_Vector<SCALAR> & result)
   {
     throw;
   }