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

Make Zero be a subtype of Number #294

Closed
wants to merge 2 commits into from
Closed

Make Zero be a subtype of Number #294

wants to merge 2 commits into from

Conversation

blegat
Copy link
Member

@blegat blegat commented Jul 23, 2024

This is needed for this to be used in MOI.EqualTo

@odow
Copy link
Member

odow commented Jul 23, 2024

I'm pretty nervous about this. It opens up a much wider surface area of possible ambiguities.

@blegat
Copy link
Member Author

blegat commented Jul 30, 2024

Yes, it seemed to create a lot of ambiguity, this PR is not needed with the approach using shapes:
jump-dev/JuMP.jl#3786 (comment)

@odow odow closed this Jul 30, 2024
@odow odow deleted the bl/zero_number branch July 30, 2024 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants