We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7872ae commit adcbb23Copy full SHA for adcbb23
lib/eigen_5.0.1/Eigen/src/Core/Fill.h
@@ -94,7 +94,7 @@ struct eigen_fill_impl<Xpr, /*use_fill*/ true> {
94
template <typename Xpr>
95
struct eigen_memset_helper {
96
static constexpr bool value =
97
- std::is_trivially_copyable<typename Xpr::Scalar>::value && eigen_fill_helper<Xpr>::value;
+ std::is_trivially_copyable<typename Xpr::Scalar>::value && eigen_fill_helper<Xpr>::value && !NumTraits<Xpr>::RequireInitialization;
98
};
99
100
0 commit comments