mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Fixed a constness bug
This commit is contained in:
parent
34340458cb
commit
c33479324c
@ -146,7 +146,7 @@ struct TensorEvaluator<const TensorReshapingOp<NewDimensions, ArgType>, Device>
|
|||||||
return m_impl.template packet<LoadMode>(index);
|
return m_impl.template packet<LoadMode>(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
EIGEN_DEVICE_FUNC CoeffReturnType* data() const { return m_impl.data(); }
|
EIGEN_DEVICE_FUNC Scalar* data() const { return m_impl.data(); }
|
||||||
|
|
||||||
const TensorEvaluator<ArgType, Device>& impl() const { return m_impl; }
|
const TensorEvaluator<ArgType, Device>& impl() const { return m_impl; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user