-
Notifications
You must be signed in to change notification settings - Fork 23
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
StackOverflowError using antiderivative #157
Comments
It's not implemented for DynamicPolynomials yet, see the discussion in JuliaAlgebra/MultivariatePolynomials.jl#230 DynamicPolynomials.jl/src/diff.jl Lines 1 to 10 in 005621b
|
OK; thank you for the info. It is a bit weird that this causes a In principle, this should not be that hard to implement, right? At least the mathematics of it are not particularly hard :) |
Yes, it's not ideal, thanks for the PR :) |
I am using the following version
[7c1d4256] DynamicPolynomials v0.5.5
in my project. I wanted to compute the antiderivative of a polynomial. TheExamples
sections show the following:However, when I launch julia and try to enter the exact example, I receive a
StackOverflowError
:The complete error is
This shows that the
antidifferentiate
function calls itself ~80k times before the stack memory runs out. Do you have any idea why this is happening?The text was updated successfully, but these errors were encountered: