From e3612bc0b843302259d79e4ecb73dff25e891122 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Wed, 2 Dec 2009 09:11:24 +0100 Subject: [PATCH] Removed unnecessary code. --- Eigen/src/Core/ProductBase.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Eigen/src/Core/ProductBase.h b/Eigen/src/Core/ProductBase.h index 57183ac52..955e87feb 100644 --- a/Eigen/src/Core/ProductBase.h +++ b/Eigen/src/Core/ProductBase.h @@ -111,14 +111,6 @@ class ProductBase : public MatrixBase template inline void scaleAndAddTo(Dest& dst,Scalar alpha) const { derived().scaleAndAddTo(dst,alpha); } - PlainMatrixType eval() const - { - PlainMatrixType res(rows(), cols()); - res.setZero(); - derived().evalTo(res); - return res; - } - EIGEN_DEPRECATED const Flagged lazy() const { return *this; }