From 68016c1b9d8cbc8174247073b42b101677273128 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 11 Apr 2002 14:18:26 +0000 Subject: [PATCH] Squash big fat black bug. Minor doc changes. git-svn-id: https://svn.dealii.org/trunk@5642 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/exceptions.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index 07105ce6c7..e06dc5a80a 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -102,7 +102,7 @@ * which by macro expansion does the following: * @begin{verbatim} * #ifdef DEBUG - * if (!cond) + * if (!(cond)) * issue error of class ExcDomain(n,dim) * #else * do nothing @@ -202,7 +202,7 @@ * want to keep to this, but want to extend it a bit. In general, the * structure is the same, i.e. you normally raise and exception by * @begin{verbatim} - * if (!cond) + * if (!(cond)) * throw ExcSomething(); * @end{verbatim} * and catch it using the statement @@ -231,7 +231,7 @@ * which is the same as explained above for the @p{Assert} expansion, requires * some work if one would want to write it down each time: * @begin{verbatim} - * if (!cond) + * if (!(cond)) * { * ExcSomething e(additional information); * e.SetFields (__FILE__, __LINE__, __PRETTY_FUNCTION__, @@ -602,7 +602,7 @@ namespace deal_II_exceptions # else // HAVE_BUILTIN_EXPECT # define AssertThrow(cond, exc) \ { \ - if (__builtin_expect(!cond, false)) \ + if (__builtin_expect(!(cond), false)) \ deal_II_exceptions::internals:: \ issue_error_throw (__FILE__, \ __LINE__, \ -- 2.39.5