From: wolf Date: Thu, 12 Oct 2000 07:01:32 +0000 (+0000) Subject: This NO_THROW branch in AssertThrow was quite bogus! X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=300378cc4308c12c48c5ff13c8d4b5a09008318d;p=dealii-svn.git This NO_THROW branch in AssertThrow was quite bogus! git-svn-id: https://svn.dealii.org/trunk@3411 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index 3ebde4735f..d772042e51 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -415,7 +415,7 @@ void __IssueError_Throw (const char *file, /** * This is the main routine in the exception mechanism for debug mode - * error checking. It assert that a certain condition is fulfilled, + * error checking. It asserts that a certain condition is fulfilled, * otherwise issues an error and aborts the program. * * See the @p{ExceptionBase} class for more information. @@ -463,7 +463,7 @@ void __IssueError_Throw (const char *file, } #else #define AssertThrow(cond, exc) \ - { abort(); } + { if (!(cond)) abort(); } #endif /**