From: wolf Date: Mon, 26 Jul 2004 13:51:40 +0000 (+0000) Subject: Remove duplicated assertions (kudos to Oliver :-) X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da5100df0d89cc684d3e9e9463b35ca9b5c0646c;p=dealii-svn.git Remove duplicated assertions (kudos to Oliver :-) git-svn-id: https://svn.dealii.org/trunk@9518 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/petsc_precondition.cc b/deal.II/lac/source/petsc_precondition.cc index a060c7e20b..7fedb96742 100644 --- a/deal.II/lac/source/petsc_precondition.cc +++ b/deal.II/lac/source/petsc_precondition.cc @@ -111,7 +111,6 @@ namespace PETScWrappers // preconditioner int ierr; ierr = PCSetType (pc, const_cast(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(PCILU)); - AssertThrow (ierr == 0, ExcPETScError(ierr)); AssertThrow (ierr == 0, ExcPETScError(ierr)); // then set flags