mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-12 09:23:12 +08:00
Fixed constness in Array- and MatrixWrapper.
This also fixes the compilation on VC11.
This commit is contained in:
parent
dd27b5c4a8
commit
2437215221
@ -1001,25 +1001,25 @@ protected:
|
|||||||
typename evaluator<ArgType>::nestedType m_argImpl;
|
typename evaluator<ArgType>::nestedType m_argImpl;
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename ArgType>
|
template<typename TArgType>
|
||||||
struct evaluator_impl<MatrixWrapper<ArgType> >
|
struct evaluator_impl<MatrixWrapper<TArgType> >
|
||||||
: evaluator_impl_wrapper_base<MatrixWrapper<ArgType> >
|
: evaluator_impl_wrapper_base<MatrixWrapper<TArgType> >
|
||||||
{
|
{
|
||||||
typedef MatrixWrapper<ArgType> XprType;
|
typedef MatrixWrapper<TArgType> XprType;
|
||||||
|
|
||||||
evaluator_impl(const XprType& wrapper)
|
evaluator_impl(const XprType& wrapper)
|
||||||
: evaluator_impl_wrapper_base<MatrixWrapper<ArgType> >(wrapper.nestedExpression())
|
: evaluator_impl_wrapper_base<MatrixWrapper<TArgType> >(wrapper.nestedExpression())
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename ArgType>
|
template<typename TArgType>
|
||||||
struct evaluator_impl<ArrayWrapper<ArgType> >
|
struct evaluator_impl<ArrayWrapper<TArgType> >
|
||||||
: evaluator_impl_wrapper_base<ArrayWrapper<ArgType> >
|
: evaluator_impl_wrapper_base<ArrayWrapper<TArgType> >
|
||||||
{
|
{
|
||||||
typedef ArrayWrapper<ArgType> XprType;
|
typedef ArrayWrapper<TArgType> XprType;
|
||||||
|
|
||||||
evaluator_impl(const XprType& wrapper)
|
evaluator_impl(const XprType& wrapper)
|
||||||
: evaluator_impl_wrapper_base<ArrayWrapper<ArgType> >(wrapper.nestedExpression())
|
: evaluator_impl_wrapper_base<ArrayWrapper<TArgType> >(wrapper.nestedExpression())
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user