[petsc-dev] fix for MatGetRowIJ_SeqSBAIJ
hong at aspiritech.org
hong at aspiritech.org
Thu Feb 12 11:26:59 CST 2015
Barry:
>
> > On Feb 12, 2015, at 9:27 AM, hong at aspiritech.org wrote:
> >
> > Stefano,
> > I'll apply your patch to petsc-release.
>
> Hmm, petsc maint? If possible?
>
Yes, petsc-maint branch.
I've pushed to next for testing, will merge to maint once it passes nightly
tests.
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/c545de9e/attachment.html>
More information about the petsc-dev
mailing list