]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Do not infringe on the compiler's use of names. 15071/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 10 Apr 2023 19:09:27 +0000 (13:09 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 10 Apr 2023 19:09:27 +0000 (13:09 -0600)
source/lac/petsc_communication_pattern.cc

index b2830a4f97921ecba743d6fcfefcb7ce8c938f54..f89f9a93c35a64361a1e60e47a8f3a382b2e27fc 100644 (file)
 
 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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.