[petsc-users] PetscBinaryWrite function in MATLAB interface

Umut Tabak u.tabak at tudelft.nl
Tue Jan 1 05:26:51 CST 2013


Dear all,

I realized sth strange in the MATLAB interface with PetscBinaryWrite 
function.

If my matrix is even a dense matrix, it is still written in the format 
of a sparse matrix. However, I think it should be written as vector as 
explained in the short comment in that file.

I guess the boolean test on line 45 of the 'PetscBinaryWrite' function 
should be an '&&' not a '||'.

All the best for the coming year,
U.




More information about the petsc-users mailing list