aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/btl/generic_bench/init
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-03-31 10:58:30 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-03-31 10:58:30 +0200
commitf603823ef3ba156319d0296e101c702b769da522 (patch)
treee9ad7ec1b30fa89d241e1b40aadf7d309ab190c6 /bench/btl/generic_bench/init
parent8d0441052e7fac530fad12016f53f5b234a68d47 (diff)
BTL: fix warnings and extend to 5k matrices, update GotoBlas to OpenBlas, etc.
Diffstat (limited to 'bench/btl/generic_bench/init')
-rw-r--r--bench/btl/generic_bench/init/init_function.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bench/btl/generic_bench/init/init_function.hh b/bench/btl/generic_bench/init/init_function.hh
index 7b3bdbafc..e467cb648 100644
--- a/bench/btl/generic_bench/init/init_function.hh
+++ b/bench/btl/generic_bench/init/init_function.hh
@@ -30,23 +30,23 @@ double simple_function(int index_i, int index_j)
return index_i+index_j;
}
-double pseudo_random(int index)
+double pseudo_random(int /*index*/)
{
return std::rand()/double(RAND_MAX);
}
-double pseudo_random(int index_i, int index_j)
+double pseudo_random(int /*index_i*/, int /*index_j*/)
{
return std::rand()/double(RAND_MAX);
}
-double null_function(int index)
+double null_function(int /*index*/)
{
return 0.0;
}
-double null_function(int index_i, int index_j)
+double null_function(int /*index_i*/, int /*index_j*/)
{
return 0.0;
}