diff --git a/libsrc/core/utils.hpp b/libsrc/core/utils.hpp index 323fe67a..a503d53c 100644 --- a/libsrc/core/utils.hpp +++ b/libsrc/core/utils.hpp @@ -182,7 +182,7 @@ namespace ngcore /// square element template - NETGEN_INLINE T sqr (const T a) + NETGEN_INLINE constexpr T sqr (const T a) { return a * a; }