From: Wolfgang Bangerth Date: Thu, 25 May 2023 21:43:04 +0000 (-0600) Subject: Remove no longer user preprocessor define. X-Git-Tag: v9.5.0-rc1~189^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15271%2Fhead;p=dealii.git Remove no longer user preprocessor define. --- diff --git a/include/deal.II/lac/petsc_snes.templates.h b/include/deal.II/lac/petsc_snes.templates.h index db5d8d7965..16b9b647ac 100644 --- a/include/deal.II/lac/petsc_snes.templates.h +++ b/include/deal.II/lac/petsc_snes.templates.h @@ -38,16 +38,6 @@ DEAL_II_NAMESPACE_OPEN } \ while (0) -// Shorthand notation for User error codes. -# define AssertUser(code, name) \ - do \ - { \ - int ierr = (code); \ - AssertThrow(ierr == 0, \ - StandardExceptions::ExcFunctionNonzeroReturn(name, ierr)); \ - } \ - while (0) - namespace PETScWrappers { namespace @@ -514,7 +504,6 @@ namespace PETScWrappers } // namespace PETScWrappers # undef AssertPETSc -# undef AssertUser DEAL_II_NAMESPACE_CLOSE