<div class="gmail_quote">On Tue, Apr 3, 2012 at 07:21, Mark F. Adams <span dir="ltr"><<a href="mailto:mark.adams@columbia.edu">mark.adams@columbia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I've added the appended code to get the null space from the Mat. I did not see:</div><div><br></div><div> ierr = MatNullSpaceDestroy(&matnull);CHKERRQ(ierr);</div><div><br></div><div>in your ML code ... shouldn't that be here?</div>
</blockquote></div><br><div>MatGetNearNullSpace() is a lightweight accessor, it doesn't increment the reference count and you don't have to restore it.</div>