-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion issue: isfinite(phi_d) && isfinite(gphi) #713
Comments
What you do is not identical.
However, to solve your problem, try changing the line search algorithm
|
did you try to compare against LsqFit btw? |
Thank you for your reply and for this wonderful package! Yes I have a few thousand observations not just two, and noticed that for my data the default I was not aware of |
Yeah, it's a known "issue", but the solution is really to use something else. The thing is, that HagerZhang is often a good choice, but backtracking is often "safer". However, it gets tricky to pick a default, because on some problems HagerZhang will fail and on others BackTracking will fail. So... At least there are some different ones to try :) |
I am getting the following assertion issue:
AssertionError: isfinite(phi_d) && isfinite(gphi)
. When running the data ineuribor_ok
there is no assertion error. However, when runningeuribor
second line, containing data which is identical toeuribor_ok
, one gets the assertion error.On:
Optim v0.18.1
andJulia 1.1
Output
The text was updated successfully, but these errors were encountered: