<div dir="ltr">There's a bug in MatGetSubMatrix; the case MAT_REUSE_MATRIX is not covered by the interface when  isrow == iscol and isrow is a stride 1 IS representing the whole set of rows. A tentative patch is attached. <div><div><br></div>-- <br><div class="gmail_signature">Stefano</div>
</div></div>