chjackson / flexsurv

The flexsurv R package for flexible parametric survival and multi-state modelling
http://chjackson.github.io/flexsurv/
53 stars 28 forks source link

Fix ignored `tol.evalues` in hessian control argument #189 #190

Closed stephematician closed 2 months ago

stephematician commented 2 months ago

Removes short-circuit that causes tol.evalues to be ignored. Adds a test that the tol.evalues argument is respected (in a contrived example of a sub-optimal solution).

chjackson commented 2 months ago

Thanks for spotting and fixing this and for the thorough test case!