From 53b08efc6ad49cffa4523f056e24722dc1a7d46c Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Sat, 20 Jul 2024 10:38:01 +0200 Subject: [PATCH] remove commented code --- libsrc/core/exception.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libsrc/core/exception.hpp b/libsrc/core/exception.hpp index 57fbb526..a9ca7166 100644 --- a/libsrc/core/exception.hpp +++ b/libsrc/core/exception.hpp @@ -110,10 +110,6 @@ struct IsSafe { if ((value)<(min) || (value)>=(max_plus_one)) \ ThrowRangeException(__FILE__ ":" NETGEN_CORE_NGEXEPTION_STR(__LINE__) "\t", int(value), int(min), int(max_plus_one)); } } -// #define NETGEN_CHECK_SHAPE(a,b) \ -// { if(a.Shape() != b.Shape()) \ -// ngcore::ThrowException(__FILE__ ":" NETGEN_CORE_NGEXEPTION_STR(__LINE__) "\t: shapes don't match"); } - #define NETGEN_CHECK_SAME(a,b) \ { if(a != b) { \ if constexpr(std::is_same() && std::is_same()) \