diff options
Diffstat (limited to 'test/test_cg.cpp')
-rw-r--r-- | test/test_cg.cpp | 2 |
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; |