[petsc-dev] fix for MatGetRowIJ_SeqSBAIJ

Stefano Zampini stefano.zampini at gmail.com
Thu Feb 19 00:47:12 CST 2015


Hong,

why didn't you merge it to master and main yet? is the wrong patch?

Stefano

2015-02-12 20:26 GMT+03:00 hong at aspiritech.org <hong at aspiritech.org>:

> 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
>> >
>>
>>
>


-- 
Stefano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150219/aabc4355/attachment.html>


More information about the petsc-dev mailing list