[go: up one dir, main page]

Provide hints for deprecated functionality

Fixes #2967 (closed)

The remaining occurences are the following

$ grep -rP '(?<!(#define\s)|//\s)\bEIGEN_DEPRECATED\b' Eigen/                                                                                 
Eigen/src/Core/TriangularMatrix.h:  EIGEN_DEPRECATED EIGEN_DEVICE_FUNC void lazyAssign(const TriangularBase<OtherDerived>& other);
Eigen/src/Core/TriangularMatrix.h:  EIGEN_DEPRECATED EIGEN_DEVICE_FUNC void lazyAssign(const MatrixBase<OtherDerived>& other);
Eigen/src/Core/TriangularMatrix.h:  EIGEN_DEPRECATED EIGEN_DEVICE_FUNC void swap(MatrixBase<OtherDerived> const& other) {
Eigen/src/Core/util/Constants.h:EIGEN_DEPRECATED const unsigned int EvalBeforeAssigningBit = 0x4;  // FIXME deprecated
Eigen/src/Core/util/Constants.h:EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80;
Eigen/src/Core/DenseBase.h:  EIGEN_DEPRECATED typedef CwiseNullaryOp<internal::linspaced_op<Scalar>, PlainObject> SequentialLinSpacedReturnType;
Eigen/src/Core/DenseBase.h:  EIGEN_DEPRECATED EIGEN_DEVICE_FUNC Derived& lazyAssign(const DenseBase<OtherDerived>& other);
Eigen/src/Core/DenseBase.h:  EIGEN_DEPRECATED const Derived& flagged() const {
Eigen/src/Core/functors/UnaryFunctors.h:  EIGEN_DEPRECATED EIGEN_DEVICE_FUNC inline bool operator()(const bool& a) const { return a; }
Eigen/src/Core/functors/UnaryFunctors.h:  EIGEN_DEPRECATED EIGEN_DEVICE_FUNC inline Packet packetOp(const Packet& a) const {
Eigen/src/Core/functors/UnaryFunctors.h:  EIGEN_DEPRECATED EIGEN_DEVICE_FUNC inline bool operator()(const bool& a) const { return a; }
Eigen/src/Core/functors/UnaryFunctors.h:  EIGEN_DEPRECATED EIGEN_DEVICE_FUNC inline const Packet packetOp(const Packet& a) const {
Eigen/src/Core/functors/UnaryFunctors.h:  EIGEN_DEPRECATED EIGEN_DEVICE_FUNC inline bool operator()(const bool& a) const { return a; }
Eigen/src/Core/functors/UnaryFunctors.h:  EIGEN_DEPRECATED EIGEN_DEVICE_FUNC inline const Packet packetOp(const Packet& a) const {
Eigen/src/Core/functors/UnaryFunctors.h:  EIGEN_DEPRECATED std::enable_if_t<!IsExactlyRepresentable, void> check_is_representable() const {}
Eigen/src/SparseCore/SparseMatrix.h:  EIGEN_DEPRECATED EIGEN_DONT_INLINE Scalar& insertCompressed(Index row, Index col);
Eigen/src/SparseCore/SparseMatrix.h:  EIGEN_DEPRECATED EIGEN_DONT_INLINE Scalar& insertUncompressed(Index row, Index col);
Eigen/src/SparseCore/SparseMatrix.h:EIGEN_DEPRECATED EIGEN_DONT_INLINE typename SparseMatrix<Scalar_, Options_, StorageIndex_>::Scalar&
Eigen/src/SparseCore/SparseMatrix.h:EIGEN_DEPRECATED EIGEN_DONT_INLINE typename SparseMatrix<Scalar_, Options_, StorageIndex_>::Scalar&

where it is not clear what is the replacement. Some instances such as insertCompressed and insertUncompressed are not part of the public API and therefore can be probably ignored.

Merge request reports

Loading