Skip to content

Commit

Permalink
Verify the correct memory
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Apr 30, 2009
1 parent bf69797 commit c45e2db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fs/interface/fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,8 @@ dErr dFSGetMatrix(dFS fs,const MatType mtype,Mat *inJ)

dFunctionBegin;
dValidHeader(fs,DM_COOKIE,1);
dValidPointer(mtype,2);
dValidPointer(J,3);
dValidCharPointer(mtype,2);
dValidPointer(inJ,3);
*inJ = 0;
bs = fs->bs; n = fs->n;
err = MatCreate(((dObject)fs)->comm,&J);dCHK(err);
Expand Down

0 comments on commit c45e2db

Please sign in to comment.