aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/btl/actions/action_lu_decomp.hh
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-03-05 08:11:47 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-03-05 08:11:47 +0000
commita72ff5abc1a259c4d4510437a53acd7d47dd6e19 (patch)
treeae3ea873466072d39c353b54dc1e1ebd4f83837e /bench/btl/actions/action_lu_decomp.hh
parent6a265063417db175eb436e6bcc0e3e74780a1b2f (diff)
BTL: - patch from Victor (add ACML support)
- fix overflow issues
Diffstat (limited to 'bench/btl/actions/action_lu_decomp.hh')
-rw-r--r--bench/btl/actions/action_lu_decomp.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bench/btl/actions/action_lu_decomp.hh b/bench/btl/actions/action_lu_decomp.hh
index cf455e87f..147884e76 100644
--- a/bench/btl/actions/action_lu_decomp.hh
+++ b/bench/btl/actions/action_lu_decomp.hh
@@ -40,7 +40,7 @@ public :
// STL vector initialization
init_matrix<pseudo_random>(X_stl,_size);
-
+
init_matrix<null_function>(C_stl,_size);
init_matrix<null_function>(resu_stl,_size);
@@ -96,10 +96,10 @@ public :
Interface::matrix_to_stl(C,resu_stl);
// STL_interface<typename Interface::real_type>::lu_decomp(X_stl,C_stl,_size);
-//
+//
// typename Interface::real_type error=
// STL_interface<typename Interface::real_type>::norm_diff(C_stl,resu_stl);
-//
+//
// if (error>1.e-6){
// INFOS("WRONG CALCULATION...residual=" << error);
// exit(0);
@@ -118,7 +118,7 @@ private :
typename Interface::gene_matrix C;
int _size;
- int _cost;
+ double _cost;
};
#endif