From a9598c437818f419ddf34803495c9543df357939 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 10 Apr 2023 13:09:27 -0600 Subject: [PATCH] Do not infringe on the compiler's use of names. --- source/lac/petsc_communication_pattern.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/lac/petsc_communication_pattern.cc b/source/lac/petsc_communication_pattern.cc index b2830a4f97..f89f9a93c3 100644 --- a/source/lac/petsc_communication_pattern.cc +++ b/source/lac/petsc_communication_pattern.cc @@ -23,12 +23,12 @@ DEAL_II_NAMESPACE_OPEN // Shorthand notation for PETSc error codes. -# define AssertPETSc(code) \ - do \ - { \ - PetscErrorCode __ierr = (code); \ - AssertThrow(__ierr == 0, ExcPETScError(__ierr)); \ - } \ +# define AssertPETSc(code) \ + do \ + { \ + PetscErrorCode ierr = (code); \ + AssertThrow(ierr == 0, ExcPETScError(ierr)); \ + } \ while (0) namespace PETScWrappers -- 2.39.5