From 0ecfc5eed935b3af07995c65d8c0e837a58a62ef Mon Sep 17 00:00:00 2001 From: Ferhat Mihoubi Date: Fri, 17 Sep 2010 11:37:02 +0200 Subject: [PATCH] - Incorrect type for variable map_idx_res (the variable with highest error) --- mex/sources/bytecode/SparseMatrix.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mex/sources/bytecode/SparseMatrix.hh b/mex/sources/bytecode/SparseMatrix.hh index 3a6715a59..f70e54a91 100644 --- a/mex/sources/bytecode/SparseMatrix.hh +++ b/mex/sources/bytecode/SparseMatrix.hh @@ -184,7 +184,8 @@ protected: double *u, *y, *ya; vector jac; double *jcb; - double res1, res2, max_res, max_res_idx; + double res1, res2, max_res; + int max_res_idx; double slowc, slowc_save, prev_slowc_save, markowitz_c; int y_kmin, y_kmax, y_size, periods, y_decal; int *index_vara, *index_equa;