mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fixed a test
This commit is contained in:
@@ -64,7 +64,7 @@ class TensorLazyEvaluatorReadOnly : public TensorLazyBaseEvaluator<Dimensions, t
|
||||
virtual const Scalar coeff(DenseIndex index) const {
|
||||
return m_impl.coeff(index);
|
||||
}
|
||||
virtual Scalar& coeffRef(DenseIndex index) {
|
||||
virtual Scalar& coeffRef(DenseIndex) {
|
||||
eigen_assert(false && "can't reference the coefficient of a rvalue");
|
||||
return *reinterpret_cast<Scalar*>(dummy);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user