[petsc-users] MatGetRowMinAbs returns negative number

Jed Brown jedbrown at mcs.anl.gov
Wed Jan 4 11:05:41 CST 2012


On Wed, Jan 4, 2012 at 11:02, Matthew Knepley <knepley at gmail.com> wrote:

> Okay, here is what is wrong with the logic:
>
> 1) Its not a shift, it ignores values < 1.0e-12
>

you wrote that in the commit message


>
> 2) The problem is on line 2.17 of the diff where it takes the first value
> as minimum, but does not take the absolute value
>

good catch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120104/b29eb247/attachment.htm>


More information about the petsc-users mailing list