-
Notifications
You must be signed in to change notification settings - Fork 9
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
AssertionError: length(ret) == n #8
Comments
Sorry, I don't actually know that much about the internals (all I really did is take the ARM code and turn it into a package), though one day I'll read up on it. I have found that modifying one side of the interval can sometimes help, e.g. #6 (comment) |
Thanks, that Arnoldi paper looks really interesting too |
I've found that one place this can happen is if there's a division by zero (especially annoying when it's a 0/0 that mathematically should be defined) |
@oscardssmith do you have an example? |
Here are some elementary examples, which fail with that error.
|
Hi @simonbyrne , thanks for this package!
In trying this out, I've gotten really nice results for things like a polynomial approximation to
log1pexp
. But thisAssertionError
seems very common. It had seemed to happen mostly when asking for rational function approximations - polynomial approximations seem a little more likely to work - but it also fails in (what would seem to be) simple cases likeAny idea what's going on here?
The text was updated successfully, but these errors were encountered: