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.hh4
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;
}
}