From fabaa6915be063a5390ad78c4ddd86b335691418 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Thu, 18 Dec 2008 20:36:25 +0000 Subject: * fix in IO.h, a useless copy was made because of assignment from Derived to MatrixBase. * the optimization of eval() for Matrix now consists in a partial specialization of ei_eval, which returns a reference type for Matrix. No overriding of eval() in Matrix anymore. Consequence: careful, ei_eval is no longer guaranteed to give a plain matrix type! For that, use ei_plain_matrix_type, or the PlainMatrixType typedef. * so lots of changes to adapt to that everywhere. Hope this doesn't break (too much) MSVC compilation. * add code examples for the new image() stuff. * lower a bit the precision for floats in the unit tests as we were already doing some workarounds in inverse.cpp and we got some failed tests. --- Eigen/src/Core/DiagonalProduct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/DiagonalProduct.h') diff --git a/Eigen/src/Core/DiagonalProduct.h b/Eigen/src/Core/DiagonalProduct.h index ca0b56872..5e23fb066 100644 --- a/Eigen/src/Core/DiagonalProduct.h +++ b/Eigen/src/Core/DiagonalProduct.h @@ -32,7 +32,7 @@ */ template struct ei_nested_diagonal : ei_nested {}; template struct ei_nested_diagonal,N > - : ei_nested, N, DiagonalMatrix::type> > > + : ei_nested, N, DiagonalMatrix::type> > > {}; // specialization of ProductReturnType -- cgit v1.2.3