aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_cg.cpp
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2012-04-07 16:05:52 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2012-04-07 16:05:52 +0000
commit190f2b4e15cdeb8d5593f8a15e02d459a3c7483d (patch)
tree92a8153b0fefe508b9106e391c6014def0b46f49 /test/test_cg.cpp
parent78d84eebe69da1d008c1f7a07628846b3e039d65 (diff)
downloadopt-utilities-190f2b4e15cdeb8d5593f8a15e02d459a3c7483d.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@233 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'test/test_cg.cpp')
-rw-r--r--test/test_cg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_cg.cpp b/test/test_cg.cpp
index cb89f71..b32c783 100644
--- a/test/test_cg.cpp
+++ b/test/test_cg.cpp
@@ -47,7 +47,7 @@ int main()
opt.set_opt_method(conjugate_gradient<double,vector<double> >());
//opt.set_opt_method(powell_method<double,vector<double> >());
opt.set_func_obj(foo());
- std::vector<double> p(30);
+ std::vector<double> p(300);
for(int i=0;i<p.size();++i)
{
p[i]=100;