diff options
author | spiros <andyspiros@gmail.com> | 2011-07-22 23:53:02 +0200 |
---|---|---|
committer | spiros <andyspiros@gmail.com> | 2011-07-22 23:53:02 +0200 |
commit | 47af1c14eaed0149ab6a3eb2b040d767a9fca82e (patch) | |
tree | 2e3552d44d74cda2408cc562eb2497711484c813 /btl/generic_bench/init/init_function.hh | |
parent | Added 2D FFTW tests. Much work around FFTW. (diff) | |
download | auto-numerical-bench-47af1c14eaed0149ab6a3eb2b040d767a9fca82e.tar.gz auto-numerical-bench-47af1c14eaed0149ab6a3eb2b040d767a9fca82e.tar.bz2 auto-numerical-bench-47af1c14eaed0149ab6a3eb2b040d767a9fca82e.zip |
Added support for parallel LU decomposition in the PBLAS module. Much
work on the distributed memory framework.
Diffstat (limited to 'btl/generic_bench/init/init_function.hh')
-rw-r--r-- | btl/generic_bench/init/init_function.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/btl/generic_bench/init/init_function.hh b/btl/generic_bench/init/init_function.hh index 7b3bdba..5401673 100644 --- a/btl/generic_bench/init/init_function.hh +++ b/btl/generic_bench/init/init_function.hh @@ -32,7 +32,7 @@ double simple_function(int index_i, int index_j) double pseudo_random(int index) { - return std::rand()/double(RAND_MAX); + return static_cast<int>((std::rand()/double(RAND_MAX)-.5)*20); } double pseudo_random(int index_i, int index_j) |