diff --git a/Eigen/src/Core/AnyMatrixBase.h b/Eigen/src/Core/AnyMatrixBase.h index cd354d7b1..58b425740 100644 --- a/Eigen/src/Core/AnyMatrixBase.h +++ b/Eigen/src/Core/AnyMatrixBase.h @@ -94,7 +94,7 @@ template struct AnyMatrixBase ***************************************************************************/ /** Copies the generic expression \a other into *this. \returns a reference to *this. - * The expression must provide a (templated) evalToDense(Derived& dst) const function + * The expression must provide a (templated) evalTo(Derived& dst) const function * which does the actual job. In practice, this allows any user to write its own * special matrix without having to modify MatrixBase */ template diff --git a/Eigen/src/Core/DiagonalMatrix.h b/Eigen/src/Core/DiagonalMatrix.h index a74695921..4665fe0ca 100644 --- a/Eigen/src/Core/DiagonalMatrix.h +++ b/Eigen/src/Core/DiagonalMatrix.h @@ -51,7 +51,7 @@ class DiagonalBase : public AnyMatrixBase DenseMatrixType toDenseMatrix() const { return derived(); } template - void evalToDense(MatrixBase &other) const; + void evalTo(MatrixBase &other) const; template void addToDense(MatrixBase &other) const { other.diagonal() += diagonal(); } @@ -72,7 +72,7 @@ class DiagonalBase : public AnyMatrixBase template template -void DiagonalBase::evalToDense(MatrixBase &other) const +void DiagonalBase::evalTo(MatrixBase &other) const { other.setZero(); other.diagonal() = diagonal(); diff --git a/Eigen/src/Sparse/SparseMatrixBase.h b/Eigen/src/Sparse/SparseMatrixBase.h index d0b7c98c8..b2b010565 100644 --- a/Eigen/src/Sparse/SparseMatrixBase.h +++ b/Eigen/src/Sparse/SparseMatrixBase.h @@ -452,7 +452,7 @@ template class SparseMatrixBase : public AnyMatrixBase - void evalToDense(MatrixBase& dst) const + void evalTo(MatrixBase& dst) const { dst.setZero(); for (int j=0; j