mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fixed a const correctness issue in TensorLayoutSwap
This commit is contained in:
@@ -157,7 +157,7 @@ struct TensorEvaluator<const TensorLayoutSwapOp<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; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user