-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Thanks for implementing the LSMR solver - I've been using it for matrix-free Levenberg-Marquardt and it seems to work really well! There's one issue with the initialisation however - one of the initial values gets initialised as 1e100 leading to overflows.. The origin of this value seems to be the scipy implementation, which runs in 64bit by default - but Jax runs in 32. It doesn't seem to affect the result of the solver, though.
Simply changing this line to:
minrbar=jnp.inf
solves the issue for me.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels