From ab4046970bd4e7772287ef882334b8be26ea86da Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sat, 12 Apr 2008 17:37:27 +0000 Subject: * Add fixed-size template versions of corner(), start(), end(). * Use them to write an unrolled path in echelon.cpp, as an experiment before I do this LU module. * For floating-point types, make ei_random() use an amplitude of 1. --- 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 39ed317aa..418bf72f2 100644 --- a/bench/benchmark.cpp +++ b/bench/benchmark.cpp @@ -28,7 +28,7 @@ int main(int argc, char *argv[]) asm("#begin"); for(int a = 0; a < REPEAT; a++) { - m = I + 0.00005 * (m + m*m); + m = Matrix::ones() + 0.00005 * (m + m*m); } asm("#end"); cout << m << endl; -- cgit v1.2.3