From 4716040703be1ee906439385d20475dcddad5ce3 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 25 Oct 2010 10:15:22 -0400 Subject: bug #86 : use internal:: namespace instead of ei_ prefix --- bench/BenchSparseUtil.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bench/BenchSparseUtil.h') diff --git a/bench/BenchSparseUtil.h b/bench/BenchSparseUtil.h index 305c70aeb..ff836bffe 100644 --- a/bench/BenchSparseUtil.h +++ b/bench/BenchSparseUtil.h @@ -31,7 +31,7 @@ void fillMatrix(float density, int rows, int cols, EigenSparseMatrix& dst) { for(int i = 0; i < rows; i++) { - Scalar v = (ei_random(0,1) < density) ? ei_random() : 0; + Scalar v = (internal::random(0,1) < density) ? internal::random() : 0; if (v!=0) dst.insert(i,j) = v; } @@ -48,12 +48,12 @@ void fillMatrix2(int nnzPerCol, int rows, int cols, EigenSparseMatrix& dst) std::set aux; for(int i = 0; i < nnzPerCol; i++) { - int k = ei_random(0,rows-1); + int k = internal::random(0,rows-1); while (aux.find(k)!=aux.end()) - k = ei_random(0,rows-1); + k = internal::random(0,rows-1); aux.insert(k); - dst.insert(k,j) = ei_random(); + dst.insert(k,j) = internal::random(); } } dst.finalize(); -- cgit v1.2.3