Comment 11 for bug 927539

Revision history for this message
Cian Wilson (cwilson) wrote :

Of course, what I was missing was that you can't call ident_zeros on an unfinalized matrix as it depends on MatGetRows with the petsc backend. So calling a routine that adds zeros to the diagonal is necessary before finalizing before calling ident_zeros.