From 8c6007f80e773ca3661c5a323d8e28ce49a609b3 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sat, 3 May 2008 12:21:23 +0000 Subject: * Patch by Konstantinos Margaritis: AltiVec vectorization. * Fix several warnings, temporarily disable determinant test. --- bench/benchmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bench/benchmark.cpp') diff --git a/bench/benchmark.cpp b/bench/benchmark.cpp index 4061b0211..abdfbd55a 100644 --- a/bench/benchmark.cpp +++ b/bench/benchmark.cpp @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) asm("#begin"); for(int a = 0; a < REPEAT; a++) { - m = Matrix::ones() + 0.00005 * (m + m*m); + m = Matrix::ones() + 0.00005 * (m + (m*m).eval()); } asm("#end"); cout << m << endl; -- cgit v1.2.3