[petsc-users] Invalid MAT_CLASSID

Harshad Sahasrabudhe hsahasra at purdue.edu
Mon Oct 20 15:07:29 CDT 2014


Hi,

I get the following error when I call MatGetType even though I'm calling
the function with a Mat object.

[0]PETSC ERROR: Invalid argument!
[0]PETSC ERROR: Wrong type of object: Parameter # 1!

What could be going wrong?

Thanks,
Harshad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141020/a8330fb3/attachment.html>


More information about the petsc-users mailing list