mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-10-14 17:11:29 +08:00
Add missing data member function in CwiseUnaryView
(transplanted from e21dc15386059502a78ff08b82719fb8f8ca1871 )
This commit is contained in:
parent
575255bc1f
commit
93c329445c
@ -99,6 +99,9 @@ class CwiseUnaryViewImpl<ViewOp,MatrixType,Dense>
|
||||
typedef typename internal::dense_xpr_base< CwiseUnaryView<ViewOp, MatrixType> >::type Base;
|
||||
|
||||
EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
|
||||
|
||||
inline Scalar* data() { return &coeffRef(0); }
|
||||
inline const Scalar* data() const { return &coeff(0); }
|
||||
|
||||
inline Index innerStride() const
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user