aboutsummaryrefslogtreecommitdiffstats
path: root/methods
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2012-01-23 19:54:25 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2012-01-23 19:54:25 +0000
commiteff60a225541f400f7e52fe2d42ce5a9ec399ccc (patch)
treee6e9f09acd16b8113e0429bb1052ecf91bab28f8 /methods
parent5855acc5ef57ec0fcc2b43447df939ece970c40c (diff)
downloadopt-utilities-eff60a225541f400f7e52fe2d42ce5a9ec399ccc.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@219 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'methods')
-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 6b86bd6..ecfd0d6 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(int i=0;i<get_size(xt);++i)
+ for(size_t i=0;i<get_size(xt);++i)
{
//get_element(xt,i)+=x*get_element((pT)xi1,i);
set_element(xt,i,