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()) \