mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
cleaning
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user