From 64f298f13741447c77a82d32dcc783cc643a059d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 25 May 2023 15:43:04 -0600 Subject: [PATCH] Remove no longer user preprocessor define. --- include/deal.II/lac/petsc_snes.templates.h | 11 ----------- 1 file changed, 11 deletions(-) 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 -- 2.39.5