diff options
author | 2009-08-25 14:03:30 +0200 | |
---|---|---|
committer | 2009-08-25 14:03:30 +0200 | |
commit | a736378331bde6cc5d9c9b9787c26f645eb42fae (patch) | |
tree | 3c19a04ddabe81eaf5c9db8cd523ddf8a83905e2 /unsupported/test/NonLinear.cpp | |
parent | d880e6f77417ece0ff40c013932c809afe434828 (diff) |
cleaning
Diffstat (limited to 'unsupported/test/NonLinear.cpp')
-rw-r--r-- | unsupported/test/NonLinear.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unsupported/test/NonLinear.cpp b/unsupported/test/NonLinear.cpp index 3a1c81f19..342d759e6 100644 --- a/unsupported/test/NonLinear.cpp +++ b/unsupported/test/NonLinear.cpp @@ -351,6 +351,7 @@ void testHybrd1() { int n=9, info; VectorXd x(n), fvec(n); + MatrixXd fjac; /* the following starting values provide a rough solution. */ x.setConstant(n, -1.); @@ -358,7 +359,7 @@ void testHybrd1() // do the computation hybrd_functor functor; HybridNonLinearSolverNumericalDiff <hybrd_functor,double> solver(functor); - info = solver.solve(x, fvec); + info = solver.solve(x, fvec, fjac); // check return value VERIFY( 1 == info); |