mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix numerous nested versus nested_eval shortcomings
This commit is contained in:
@@ -71,7 +71,11 @@ EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(_Scalar,_AmbientDim)
|
||||
template<typename Derived>
|
||||
inline explicit AlignedBox(const MatrixBase<Derived>& a_p)
|
||||
{
|
||||
#ifndef EIGEN_TEST_EVALUATORS
|
||||
typename internal::nested<Derived,2>::type p(a_p.derived());
|
||||
#else
|
||||
typename internal::nested_eval<Derived,2>::type p(a_p.derived());
|
||||
#endif
|
||||
m_min = p;
|
||||
m_max = p;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user