[petsc-dev] fix for MatGetRowIJ_SeqSBAIJ

hong at aspiritech.org hong at aspiritech.org
Thu Feb 12 09:27:53 CST 2015


Stefano,
I'll apply your patch to petsc-release.
Thanks!
Hong

On Thu, Feb 12, 2015 at 5:56 AM, Stefano Zampini <stefano.zampini at gmail.com>
wrote:

> attached is a patch for MatGetRowIJ_SeqSBAIJ.
>
> the square brackets for array indexing take precedence on pointer
> dereference (see
> http://en.wikipedia.org/wiki/Order_of_operations#Programming_languages)
>
> Don't know why this has not been fixed yet, the commit is from 2007 (
> https://bitbucket.org/petsc/petsc/commits/8f7157ef067da8bcc67a53842181bca9de0f5d87
> )
>
> --
> Stefano
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150212/d3ad71ab/attachment.html>


More information about the petsc-dev mailing list