diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-07-16 00:03:17 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-07-16 00:03:17 +0200 |
commit | 34490f1493f8111c131e471a3dc7f6fbe5687404 (patch) | |
tree | ed6a86263f90ffc965139ce2b91814d29c0c3311 /Eigen/src/Core | |
parent | 97c9445c60f307f6a59a212872173c256adf2acd (diff) |
* bugfixes in Product, and test/product_selfadjoint
* speed up in the extraction of the matrix Q in Tridiagonalization
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r-- | Eigen/src/Core/BandMatrix.h | 2 | ||||
-rw-r--r-- | Eigen/src/Core/Product.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/BandMatrix.h b/Eigen/src/Core/BandMatrix.h index 8136724dd..7a37b3624 100644 --- a/Eigen/src/Core/BandMatrix.h +++ b/Eigen/src/Core/BandMatrix.h @@ -198,7 +198,7 @@ class BandMatrix : public MultiplierBase<BandMatrix<_Scalar,Rows,Cols,Supers,Sub * \sa class BandMatrix */ template<typename Scalar, int Size, int Options> -class TridiagonalMatrix : public BandMatrix<Scalar,Size,Size,1,Options&SelfAdjoint?0:1,Options|RowMajor> +class TridiagonalMatrix : public BandMatrix<Scalar,Size,Size,Options&SelfAdjoint?0:1,1,Options|RowMajor> { typedef BandMatrix<Scalar,Size,Size,1,Options&SelfAdjoint?0:1,Options|RowMajor> Base; public: diff --git a/Eigen/src/Core/Product.h b/Eigen/src/Core/Product.h index 6feede458..93e318035 100644 --- a/Eigen/src/Core/Product.h +++ b/Eigen/src/Core/Product.h @@ -880,7 +880,7 @@ inline Derived& MatrixBase<Derived>::lazyAssign(const Product<Lhs,Rhs,CacheFrien } else { - lazyAssign(static_cast<const MatrixBase<Product<Lhs,Rhs,CacheFriendlyProduct> > &>(product)); + lazyAssign(Product<Lhs,Rhs,NormalProduct>(product.lhs(),product.rhs())); } return derived(); } |