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

delete methods to remove ambiguities #17

Merged
merged 3 commits into from
Sep 27, 2020

Conversation

lkapelevich
Copy link
Contributor

fixes #16
I added the method that was "suggested by Julia" when the ambiguity error is thrown, though I don't actually understand why we are going into convert from places like https://github.com/jump-dev/SumOfSquares.jl/blob/master/src/sos_polynomial.jl#L46, or if this should be considered a Julia issue?
This should probably be tested on more Julia versions in the CI scripts.

@coveralls
Copy link

coveralls commented Aug 29, 2020

Coverage Status

Coverage increased (+0.5%) to 93.162% when pulling d0ecd18 on lkapelevich:ambiguityfix into ee570c1 on JuliaAlgebra:master.

@lkapelevich lkapelevich changed the title add another method for Base.convert delete methods to remove ambiguities Aug 31, 2020
@chriscoey
Copy link

Yes this issue has been bugging me for a while

src/basic.jl Outdated Show resolved Hide resolved
@lkapelevich
Copy link
Contributor Author

@blegat was there anything else?

@blegat blegat merged commit e628f58 into JuliaAlgebra:master Sep 27, 2020
@lkapelevich lkapelevich deleted the ambiguityfix branch September 27, 2020 17:17
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

Successfully merging this pull request may close these issues.

method ambiguity in convert
4 participants