> You need to pass a valid address. Show us what this code looks like. It > should be something like
> MyContext *ptr; > MatShellGetContext(mat,&ptr); That's it. I just sent ptr not &ptr. It is working now. Thanks, Edwin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111221/1f8ef75b/attachment.htm>
