<div class="gmail_quote">On Wed, Mar 16, 2011 at 00:29, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Of course I know what A is. Because I am only doing this tracking after a MatGetSubmatrix() has been called which provide the information about what A is.</blockquote></div><br><div>Yes, that's much better and another reason for MatGetSubMatrix() to retain ownership of the submatrices.</div>