aboutsummaryrefslogtreecommitdiffstats
path: root/methods/linmin
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2011-05-25 16:49:33 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2011-05-25 16:49:33 +0000
commit8efa863229940b3a13c590ed30d2e096c3b2851b (patch)
tree5d79c9bd200b75ba24dbee011e50663bf24b91d7 /methods/linmin
parent8fc9f8375a8531fdf1b48eebdee2c5668448f0e0 (diff)
downloadopt-utilities-8efa863229940b3a13c590ed30d2e096c3b2851b.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@201 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'methods/linmin')
-rw-r--r--methods/linmin/linmin.hpp2
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,