[Gsll-devel] nonlinear fit test
Mirko Vukovic
mirko.vukovic at gmail.com
Sat Dec 27 03:58:18 UTC 2008
I am trying to run gsll on clisp which is running on cygwin & windows.
It compiles and loads OK.
I am trying to run the nonlinear fit example, and following the
instructions in the comments at the end of the file.
> (nlls-setup) ;works OK
> (solve-nonlinear-least-squares-example)
gives an error:
FFI::FOREIGN-CALL-OUT: 0 connot be converted to foreign type DOUBLE-FLOAT.
By commenting out pieces of the code, it looks that the statement
...(fit (nonlinear-fdffit
*levenberg-marquardt*
*number-of-observations*
*number-of-parameters*
exponential-residual
init)) ...
is the one that causes the error. I was unable to dig deeper.
Any thoughts where the problem may be?
Thanks,
Mirko
More information about the gsll-devel
mailing list