Skip to content
Snippets Groups Projects
Commit 2230ffec authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 14ad2448
Branches
Tags
No related merge requests found
...@@ -192,7 +192,7 @@ public: ...@@ -192,7 +192,7 @@ public:
gsl_matrix *data; gsl_matrix *data;
GSL_Matrix(gsl_matrix_view _data) : view(_data), data(&view.matrix) {} 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(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) GSL_Matrix(const GSL_Matrix &other) : data(0)
{ {
if(data) gsl_matrix_free(data); if(data) gsl_matrix_free(data);
......
// $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 // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
// //
...@@ -646,7 +646,7 @@ void MTriangle::circumcenterXY(double *res) const ...@@ -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]) void MTriangle::jac(int ord, MVertex *vs[], double uu, double vv, double j[2][3])
{ {
#if defined(HAVE_GMSH_EMBEDDED) #if defined(HAVE_GMSH_EMBEDDED)
return -1.; return;
#else #else
double grads[256][2]; double grads[256][2];
int nf = getNumFaceVertices(); int nf = getNumFaceVertices();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment