From e6e8f8eb0f910b36e8a6fd1251061c72574d9172 Mon Sep 17 00:00:00 2001 From: Tarun Mitruka Date: Fri, 10 Jan 2025 16:48:15 +0100 Subject: [PATCH] fix but why? --- ikarus/finiteelements/feresulttypes.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ikarus/finiteelements/feresulttypes.hh b/ikarus/finiteelements/feresulttypes.hh index eab0dc72a..02ba9dd51 100644 --- a/ikarus/finiteelements/feresulttypes.hh +++ b/ikarus/finiteelements/feresulttypes.hh @@ -203,7 +203,7 @@ public: } else return value_; } - explicit ResultWrapper() = default; + explicit ResultWrapper() { value_.setZero(); } explicit ResultWrapper(StoredType&& value) { this->value_ = std::move(value); } explicit ResultWrapper(const StoredType& value) { this->value_ = value; } ResultWrapper& operator=(const StoredType& value) { @@ -216,7 +216,7 @@ public: } private: - StoredType value_{StoredType::Zero(rowsAtCompileTime, colsAtCompileTime)}; + StoredType value_; }; namespace Impl {