Skip to content

Commit

Permalink
Initialize loop variable
Browse files Browse the repository at this point in the history
Not sure how this was missed before, but it might be exposing an issue
with projections---unless the mass matrix is tremendously poorly
conditioned.

Signed-off-by: Jed Brown <jed@59A2.org>
  • Loading branch information
jedbrown committed Nov 22, 2008
1 parent d022dba commit 343ce82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jacobi/impls/tensor/ruletopo.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ static dErr dRuleComputeGeometry_Tensor_Hex(dRule rule,const dReal x[restrict][3
err = dGeomConvexComb_2_4(-q[1],q[2],x,dMeshConnectHexQuad[3],f[3]);dCHK(err);
err = dGeomConvexComb_2_4(q[0],q[1],x,dMeshConnectHexQuad[4],f[4]);dCHK(err);
err = dGeomConvexComb_2_4(q[0],q[1],x,dMeshConnectHexQuad[5],f[5]);dCHK(err);
for (dInt l; l<3; l++) {
for (dInt l=0; l<3; l++) {
J[l][0] = 0.5 * (f[1][l] - f[3][l]);
J[l][1] = 0.5 * (f[2][l] - f[0][l]);
J[l][2] = 0.5 * (f[5][l] - f[4][l]);
Expand Down

0 comments on commit 343ce82

Please sign in to comment.