Get rid of SequentialLinSpacedReturnType deprecation warnings in DenseBase.h

This commit is contained in:
Eugene Zhulenev 2019-04-24 11:01:35 -07:00
parent 144ca33321
commit 07355d47c6

View File

@ -337,12 +337,20 @@ template<typename Derived> class DenseBase
EIGEN_DEVICE_FUNC static const ConstantReturnType
Constant(const Scalar& value);
EIGEN_DEVICE_FUNC static const SequentialLinSpacedReturnType
/** \deprecated because of accuracy loss.
* In Eigen 3.3, it is an alias for LinSpaced(Index,const Scalar&,const Scalar&)
*/
EIGEN_DEPRECATED EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType
LinSpaced(Sequential_t, Index size, const Scalar& low, const Scalar& high);
/** \deprecated because of accuracy loss.
* In Eigen 3.3, it is an alias for LinSpaced(const Scalar&,const Scalar&)
*/
EIGEN_DEPRECATED EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType
LinSpaced(Sequential_t, const Scalar& low, const Scalar& high);
EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType
LinSpaced(Index size, const Scalar& low, const Scalar& high);
EIGEN_DEVICE_FUNC static const SequentialLinSpacedReturnType
LinSpaced(Sequential_t, const Scalar& low, const Scalar& high);
EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType
LinSpaced(const Scalar& low, const Scalar& high);