<div dir="ltr">Stefano,<div>I'll apply your patch to petsc-release.</div><div>Thanks!</div><div>Hong<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 12, 2015 at 5:56 AM, Stefano Zampini <span dir="ltr"><<a href="mailto:stefano.zampini@gmail.com" target="_blank">stefano.zampini@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><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" target="_blank">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" target="_blank">https://bitbucket.org/petsc/petsc/commits/8f7157ef067da8bcc67a53842181bca9de0f5d87</a>)</div><span class=""><font color="#888888"><div><br></div>-- <br><div>Stefano</div>
</font></span></div></div>
</blockquote></div><br></div></div></div>