From: Wolfgang Bangerth Date: Mon, 26 Jul 2004 13:51:40 +0000 (+0000) Subject: Remove duplicated assertions (kudos to Oliver :-) X-Git-Tag: v8.0.0~14947 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ab58000d3cf4d78d1ec473d0d056ead58c8d359;p=dealii.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