Missing return code check of TaoSolve
Issue #602
resolved
Comments (6)
-
reporter -
Maybe I'm missing something, but the error reported there which stops the code is not produced within the file
PETScVector.cpp
? Anyway it's fairly easy to do the same thing as for SNES. -
reporter This should be done essentially with every PETSc function call which returns error code. See coding style in
dolfin/la/PETScFoo.cpp
. The pull request does it wrong - thre should be usedpetsc_error
rather thendolfin_error
. -
reporter Maybe I'm missing something, but the error reported there which stops the code is not produced within the file PETScVector.cpp?
Yes, but maybe it happens because error in
TaoSolve
is ignored. -
reporter - changed status to resolved
-
- removed milestone
Removing milestone: 1.7 (automated comment)
- Log in to comment
@litianyi, can you fix it?