diff options
author | 2009-08-20 22:59:09 +0200 | |
---|---|---|
committer | 2009-08-20 22:59:09 +0200 | |
commit | b09ebe01da1381208a6007afbc8501edfb9f91d6 (patch) | |
tree | 12cf927512a85f991bcff872e8bf848decda52d2 /unsupported/test/NonLinear.cpp | |
parent | 8d2f6ad7e11715689cd036659940f3c703f20ee6 (diff) |
* porting lmdif1 to eigen
* qtf was missing in lmdif signature (this is an output of the method)
Diffstat (limited to 'unsupported/test/NonLinear.cpp')
-rw-r--r-- | unsupported/test/NonLinear.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/test/NonLinear.cpp b/unsupported/test/NonLinear.cpp index 7591634ff..26d1bdf6b 100644 --- a/unsupported/test/NonLinear.cpp +++ b/unsupported/test/NonLinear.cpp @@ -734,7 +734,7 @@ void testLmdif() const int m=15, n=3; int info, nfev; double fnorm, covfac, covar_ftol; - VectorXd x(n), fvec(m), diag(n); + VectorXd x(n), fvec(m), diag(n), qtf; MatrixXd fjac; VectorXi ipvt; @@ -742,7 +742,7 @@ void testLmdif() x.setConstant(n, 1.); // do the computation - info = ei_lmdif<lmdif_functor, double>(x, fvec, nfev, fjac, ipvt, diag); + info = ei_lmdif<lmdif_functor, double>(x, fvec, nfev, fjac, ipvt, qtf, diag); // check return values VERIFY( 1 == info); |