]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove duplicated assertions (kudos to Oliver :-)
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 26 Jul 2004 13:51:40 +0000 (13:51 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 26 Jul 2004 13:51:40 +0000 (13:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@9518 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/petsc_precondition.cc

index a060c7e20b6a65d28254595eb10dab1d421e2a8f..7fedb96742525c9ed39d7b3653fc69b92f624581 100644 (file)
@@ -111,7 +111,6 @@ namespace PETScWrappers
                                      // preconditioner
     int ierr;
     ierr = PCSetType (pc, const_cast<char *>(PCSOR));
-    AssertThrow (ierr == 0, ExcPETScError(ierr));
     AssertThrow (ierr == 0, ExcPETScError(ierr));
 
                                      // then set flags as given
@@ -249,7 +248,6 @@ namespace PETScWrappers
                                      // preconditioner
     int ierr;
     ierr = PCSetType (pc, const_cast<char *>(PCILU));
-    AssertThrow (ierr == 0, ExcPETScError(ierr));
     AssertThrow (ierr == 0, ExcPETScError(ierr));
 
                                      // then set flags

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.