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

patch from Wendy

parent 5ea0796c
Branches
Tags
No related merge requests found
...@@ -141,7 +141,7 @@ void polynomialBasis::f(const fullMatrix<double> &coord, fullMatrix<double> &sf) ...@@ -141,7 +141,7 @@ void polynomialBasis::f(const fullMatrix<double> &coord, fullMatrix<double> &sf)
double p[1256]; double p[1256];
sf.resize (coord.size1(), coefficients.size1()); sf.resize (coord.size1(), coefficients.size1());
for (int iPoint = 0; iPoint < coord.size1(); iPoint++) { for (int iPoint = 0; iPoint < coord.size1(); iPoint++) {
evaluateMonomials(coord(iPoint, 0), coord(iPoint, 1), evaluateMonomials(coord(iPoint, 0), coord.size2() > 1 ? coord(iPoint, 1) : 0,
coord.size2() > 2 ? coord(iPoint, 2) : 0, p); coord.size2() > 2 ? coord(iPoint, 2) : 0, p);
for (int i = 0; i < coefficients.size1(); i++) { for (int i = 0; i < coefficients.size1(); i++) {
sf(iPoint,i) = 0.; sf(iPoint,i) = 0.;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment