-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
findmax
does different things on Julia 1.6 and 1.7 with the same version of Compat
#745
Comments
Just update to match 1.7-beta? |
Yeah, so Compat v4 can do that, and I guess v3 is just going to be inconsistent? |
Why not in v3? This is a bug in Compat. |
Is it though? Changing the definition basically means any code using Compat for the findmax methods added in #738 will break (likely silently), and it was very explicit about what those methods did. Compat tagged a release with those methods, Julia did not, so Julia can change them, but I don't think Compat can... |
I guess it was premature to tag the Compat release, but the job of Compat is to behave like Julia, and there have not been a Julia release with this behavior yet, so I would 100% call this a bug in Compat. |
This is, of course, since the choice of what
findmax
does changed between when #738 was made and the 1.7-beta2 release, and in Compat, the definitions are gated around versions, so on 1.7 the real definition is let through, while on 1.6, the Compat definition is used.But how do we fix this?
The text was updated successfully, but these errors were encountered: