<div dir="ltr">attached is a patch for MatGetRowIJ_SeqSBAIJ.<div><br></div><div>the square brackets for array indexing take precedence on pointer dereference (seeĀ <a href="http://en.wikipedia.org/wiki/Order_of_operations#Programming_languages">http://en.wikipedia.org/wiki/Order_of_operations#Programming_languages</a>)<br clear="all"><div><br></div><div>Don't know why this has not been fixed yet, the commit is from 2007 (<a href="https://bitbucket.org/petsc/petsc/commits/8f7157ef067da8bcc67a53842181bca9de0f5d87">https://bitbucket.org/petsc/petsc/commits/8f7157ef067da8bcc67a53842181bca9de0f5d87</a>)</div><div><br></div>-- <br><div class="gmail_signature">Stefano</div>
</div></div>