diff options
Diffstat (limited to 'bench/btl/actions/action_hessenberg.hh')
-rw-r--r-- | bench/btl/actions/action_hessenberg.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/btl/actions/action_hessenberg.hh b/bench/btl/actions/action_hessenberg.hh index 3cb5034e4..1de43c22c 100644 --- a/bench/btl/actions/action_hessenberg.hh +++ b/bench/btl/actions/action_hessenberg.hh @@ -52,8 +52,8 @@ 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); + double r = std::max(0,_size-j-1); + double b = std::max(0,_size-j-2); _cost += 6 + 3*b + r*r*4 + r*_size*4; } } |