[petsc-dev] petsc/petsc added -pc_use_amat option to PCSetFromOptions() (commit b9ee023)

Barry Smith bsmith at mcs.anl.gov
Thu Mar 21 15:31:42 CDT 2013


On Mar 21, 2013, at 1:15 PM, Jed Brown <commits-noreply at bitbucket.org> wrote:

> New comment on changeset:
> 
> https://bitbucket.org/petsc/petsc/commits/b9ee023e1977adecb25629462ec8ac3b6a3c4e25#comment-193535
> 
> Jed Brown (jedbrown) said:
> 
> Why isn't this `PetscOptionsList()` so that it shows up in `-help`?

   My mistake, I cut and pasted the PetscOptionsGetInt() from the line above and figure that it mustn't be in a PetscOptionsBegin{} phase. You can fix it if you like.


   Barry

This is why wrong code must be removed from PETSc, otherwise it grows by cut and paste.

> 
> --
> This is an comment notification from bitbucket.org.
> You are receiving this because you are participating
> in a comment thread.




More information about the petsc-dev mailing list