levenberg-marquardt icon indicating copy to clipboard operation
levenberg-marquardt copied to clipboard

TypeError: func is not a function

Open alariej opened this issue 8 months ago • 1 comments

Hi, I am getting "TypeError: func is not a function" at:

https://github.com/mljs/levenberg-marquardt/blob/155bf0c0c2b9c5ceb290143e3987ae52291f9c9a/src/errorCalculation.js#L20

when building my Node application.

I'm running a Ubuntu 22.04 server with Node 18.

I have both "ml-levenberg-marquardt": "^4.1.3" and "@types/ml-levenberg-marquardt": "^3.1.3" installed via NPM.

Any idea what I'm doing wrong?

alariej avatar Jun 17 '24 13:06 alariej