diff --git a/Common/GmshMatrix.h b/Common/GmshMatrix.h index 8e87a6fc9947b86f097ebe484d237f370635deba..1facbedceaa576d26faf6b0b1b247aa31ad0af2f 100644 --- a/Common/GmshMatrix.h +++ b/Common/GmshMatrix.h @@ -192,7 +192,7 @@ public: gsl_matrix *data; GSL_Matrix(gsl_matrix_view _data) : view(_data), data(&view.matrix) {} GSL_Matrix(size_t R, size_t C) { data = gsl_matrix_calloc(R, C); } - GSL_Matrix() : r(0), c(0), data(0) {} + GSL_Matrix() : data(0) {} GSL_Matrix(const GSL_Matrix &other) : data(0) { if(data) gsl_matrix_free(data); diff --git a/Geo/MElement.cpp b/Geo/MElement.cpp index 56f00755ffae010f9997d0ee326f5d710b00f120..da12240aa2eb7ed799354f4d9f57717f15f115ba 100644 --- a/Geo/MElement.cpp +++ b/Geo/MElement.cpp @@ -1,4 +1,4 @@ -// $Id: MElement.cpp,v 1.54 2008-02-21 12:11:12 geuzaine Exp $ +// $Id: MElement.cpp,v 1.55 2008-02-21 12:47:37 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -646,7 +646,7 @@ void MTriangle::circumcenterXY(double *res) const void MTriangle::jac(int ord, MVertex *vs[], double uu, double vv, double j[2][3]) { #if defined(HAVE_GMSH_EMBEDDED) - return -1.; + return; #else double grads[256][2]; int nf = getNumFaceVertices();