diff --git a/Sofa/framework/Type/src/sofa/type/Mat.h b/Sofa/framework/Type/src/sofa/type/Mat.h index 651fff3f146..3f213a19b02 100644 --- a/Sofa/framework/Type/src/sofa/type/Mat.h +++ b/Sofa/framework/Type/src/sofa/type/Mat.h @@ -89,7 +89,7 @@ class Mat ArrayLineType elems{}; - constexpr Mat() noexcept = default; + constexpr Mat() noexcept : Mat(real{}) {} explicit constexpr Mat(NoInit) noexcept {