Skip to content
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

Bug in setindex!() #48

Closed
aytekinar opened this issue May 30, 2016 · 0 comments
Closed

Bug in setindex!() #48

aytekinar opened this issue May 30, 2016 · 0 comments

Comments

@aytekinar
Copy link
Contributor

There is a bug in setindex! functionality. Current implementation results in

julia> using Polynomials
julia> p = Polynomials.Poly([1, 2, 1])
Poly(1 + 2x + x^2)
julia> p[5] = 1
1
julia> p
Poly(1 + 2x + x^5)

which clears the coefficient of the highest degree term in the polynomial.

jverzani added a commit that referenced this issue May 31, 2016
Fix bug in `setindex!()` - closes #48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant