Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
but why?
  • Loading branch information
tarun-mitruka committed Jan 10, 2025
1 parent 4593681 commit e6e8f8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ikarus/finiteelements/feresulttypes.hh
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public:
} else
return value_;
}
explicit ResultWrapper() = default;
explicit ResultWrapper() { value_.setZero(); }

Check warning on line 206 in ikarus/finiteelements/feresulttypes.hh

View check run for this annotation

Codecov / codecov/patch

ikarus/finiteelements/feresulttypes.hh#L206

Added line #L206 was not covered by tests
explicit ResultWrapper(StoredType&& value) { this->value_ = std::move(value); }
explicit ResultWrapper(const StoredType& value) { this->value_ = value; }
ResultWrapper& operator=(const StoredType& value) {
Expand All @@ -216,7 +216,7 @@ public:
}

private:
StoredType value_{StoredType::Zero(rowsAtCompileTime, colsAtCompileTime)};
StoredType value_;
};

namespace Impl {
Expand Down

0 comments on commit e6e8f8e

Please sign in to comment.