From 9a3cae465510fad8f671724d71ef59a4a8199125 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 1 Oct 2009 13:27:03 +0200 Subject: better fix for (v * v') * v, we still have to find a way to reorder it --- Eigen/src/Core/Product.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Eigen/src') diff --git a/Eigen/src/Core/Product.h b/Eigen/src/Core/Product.h index 3c5c56f1c..cc751650d 100644 --- a/Eigen/src/Core/Product.h +++ b/Eigen/src/Core/Product.h @@ -135,7 +135,7 @@ struct ProductReturnType { typedef typename ei_nested::type LhsNested; typedef typename ei_nested::type RhsNested; - typedef GeneralProduct Type; + typedef GeneralProduct Type; }; @@ -212,11 +212,6 @@ class GeneralProduct ei_outer_product_selector<(int(Dest::Flags)&RowMajorBit) ? RowMajor : ColMajor>::run(*this, dest, alpha); } - Scalar coeff(int row, int col) const - { - return this->lhs().coeff(row) * this->rhs().coeff(col); - } - private: GeneralProduct& operator=(const GeneralProduct&); }; -- cgit v1.2.3