aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/btl/actions/action_hessenberg.hh
diff options
context:
space:
mode:
Diffstat (limited to 'bench/btl/actions/action_hessenberg.hh')
-rw-r--r--bench/btl/actions/action_hessenberg.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/bench/btl/actions/action_hessenberg.hh b/bench/btl/actions/action_hessenberg.hh
index a46964657..5dd12a9bc 100644
--- a/bench/btl/actions/action_hessenberg.hh
+++ b/bench/btl/actions/action_hessenberg.hh
@@ -136,13 +136,13 @@ public :
Action_tridiagonalization( int size ):_size(size)
{
- MESSAGE("Action_hessenberg Ctor");
+ MESSAGE("Action_tridiagonalization Ctor");
// STL vector initialization
typename Interface::stl_matrix tmp;
init_matrix<pseudo_random>(tmp,_size);
init_matrix<null_function>(X_stl,_size);
- STL_interface<typename Interface::real_type>::ata_product(tmp,X_stl,_size);
+ STL_interface<typename Interface::real_type>::aat_product(tmp,X_stl,_size);
init_matrix<null_function>(C_stl,_size);
init_matrix<null_function>(resu_stl,_size);
@@ -155,9 +155,9 @@ public :
_cost = 0;
for (int j=0; j<_size-2; ++j)
{
- int r = std::max(0,_size-j-1);
- int b = std::max(0,_size-j-2);
- _cost += 6 + 3*b + r*r*8;
+ double r = std::max(0,_size-j-1);
+ double b = std::max(0,_size-j-2);
+ _cost += 6. + 3.*b + r*r*8.;
}
}