mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
iwa is not really an argument, but just an old fashioned 'work array' :
remove it from the eigen API
This commit is contained in:
@@ -681,13 +681,12 @@ void testLmdif1()
|
||||
int m=15, n=3, info;
|
||||
|
||||
VectorXd x(n), fvec(m);
|
||||
VectorXi iwa;
|
||||
|
||||
/* the following starting values provide a rough fit. */
|
||||
x.setConstant(n, 1.);
|
||||
|
||||
// do the computation
|
||||
info = ei_lmdif1<lmdif1_functor,double>(x, fvec, iwa);
|
||||
info = ei_lmdif1<lmdif1_functor,double>(x, fvec);
|
||||
|
||||
// check return value
|
||||
VERIFY( 1 == info);
|
||||
|
||||
Reference in New Issue
Block a user