diff options
-rw-r--r-- | methods/linmin/linmin.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/linmin/linmin.hpp b/methods/linmin/linmin.hpp index ecfd0d6..6b86bd6 100644 --- a/methods/linmin/linmin.hpp +++ b/methods/linmin/linmin.hpp @@ -61,7 +61,7 @@ namespace opt_utilities pT xt; opt_eq(xt,p1); #pragma omp parallel for - for(size_t i=0;i<get_size(xt);++i) + for(int i=0;i<get_size(xt);++i) { //get_element(xt,i)+=x*get_element((pT)xi1,i); set_element(xt,i, |