Wolfgang Noichl
Wolfgang Noichl
Experiencing the same on Windows (win10).
Probably fixed in the more recent fork by datamade: https://github.com/datamade/pylbfgs
Yeah, that would help already. There's at least `LBFGSERR_ROUNDING_ERROR, LBFGSERR_MAXIMUMLINESEARCH, LBFGSERR_MAXIMUMITERATION` (maybe even `LBFGSERR_INCREASEGRADIENT`), that might, _depending on the actual application_, be recoverable. So my suggestion is raising an exception...
Fused types alone don't really work for that, since one cannot check the interior type (i.e. type(x) is float for x of fused type). I'd need another type-checking wrapper in...
No performance benefit for me, but works.