From 2b3ef6dbc613a654a5439c5426664fd216edd5b8 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 2 Aug 2017 16:17:24 +1000 Subject: [PATCH] debug: correct CHECK_NEZ error message --- debug.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debug.hpp b/debug.hpp index e111ce48..9e400b2d 100644 --- a/debug.hpp +++ b/debug.hpp @@ -11,7 +11,7 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * Copyright 2010-2015 Danny Robson + * Copyright 2010-2017 Danny Robson */ #ifndef __DEBUG_HPP @@ -222,7 +222,7 @@ DEBUG_ONLY ( \ const auto &__a = (A); \ if (::util::exactly_zero (__a)) \ - _CHECK_PANIC ("expected zero\n" \ + _CHECK_PANIC ("expected non-zero\n" \ "__a: %s is %!", \ #A, __a); \ ); \