From 4d1e492c00c245b2cf44d016d79c4ba5f0d3d396 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Wed, 27 May 2009 19:24:05 +0200 Subject: * Umeyama has now similar performance for RowMajor and ColMajor layouts. * Fixed a bug in umeyama for fixed size matrices. * Fixed the umeyama unit test for fixed size matrices. * Added XprHelper::ei_plain_matrix_type_row_major. --- test/umeyama.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/umeyama.cpp') diff --git a/test/umeyama.cpp b/test/umeyama.cpp index 216f4a72e..94198ae44 100644 --- a/test/umeyama.cpp +++ b/test/umeyama.cpp @@ -168,7 +168,10 @@ void run_fixed_size_test(int num_elements) MatrixX dst = (cR_t*src).lazy(); - HomMatrix cR_t_umeyama = umeyama(src.block(0,0,dim,num_elements), dst.block(0,0,dim,num_elements)); + Block src_block(src,0,0,dim,num_elements); + Block dst_block(dst,0,0,dim,num_elements); + + HomMatrix cR_t_umeyama = umeyama(src_block, dst_block); const Scalar error = ( cR_t_umeyama*src - dst ).cwise().square().sum(); -- cgit v1.2.3