Skip to content

Commit

Permalink
fs-ex1 not using (v,dv) in Jacobian evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Mar 19, 2011
1 parent b5416b3 commit b6ac253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fs/tests/ex1.c
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,9 @@ static dErr ProjJacobian1(SNES dUNUSED snes,Vec gx,Mat *J,Mat *Jp,MatStructure *
while (dRulesetIteratorHasPatch(iter)) {
const dReal *jw,*interp_flat,*deriv;
const dInt *rowcol;
dScalar *x,*dx,*u,*du,*v,*dv;
dScalar *x,*dx,*u,*du;
dInt Q,P;
err = dRulesetIteratorGetPatchApplied(iter,&Q,&jw, &x,&dx,NULL,NULL, &u,&du,&v,&dv);dCHK(err);dCHK(err);
err = dRulesetIteratorGetPatchApplied(iter,&Q,&jw, &x,&dx,NULL,NULL, &u,&du,NULL,NULL);dCHK(err);dCHK(err);
err = dRulesetIteratorGetPatchAssembly(iter, NULL,NULL,NULL,NULL, &P,&rowcol,&interp_flat,&deriv);dCHK(err);
{ /* Scope so that we can declare new VLA pointers for convenient assembly */
const dReal (*interp)[P] = (const dReal(*)[P])interp_flat;
Expand Down

0 comments on commit b6ac253

Please sign in to comment.