]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Change a variable name in Assert(). 17519/head
authorDavid Wells <drwells@email.unc.edu>
Tue, 13 Aug 2024 22:51:42 +0000 (16:51 -0600)
committerDavid Wells <drwells@email.unc.edu>
Tue, 13 Aug 2024 22:51:42 +0000 (16:51 -0600)
This should fix the typo check failure.

include/deal.II/base/exceptions.h

index b6c5d578b30db4ba8d3fde43fecfe1ab9582bf4a..04293c46e44d607b7332685f77c8305a9d7982b7 100644 (file)
@@ -1668,10 +1668,10 @@ namespace deal_II_exceptions
 #  define Assert(cond, exc)                                                    \
     do                                                                         \
       {                                                                        \
-        typename std::remove_reference<decltype(cond)>::type *deal_ii_asser_a; \
-        typename std::remove_reference<decltype(exc)>::type  *deal_ii_asser_b; \
-        (void)deal_ii_asser_a;                                                 \
-        (void)deal_ii_asser_b;                                                 \
+        typename std::remove_reference<decltype(cond)>::type *dealii_assert_a; \
+        typename std::remove_reference<decltype(exc)>::type  *dealii_assert_b; \
+        (void)dealii_assert_a;                                                 \
+        (void)dealii_assert_b;                                                 \
       }                                                                        \
     while (false)
 

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.