make vector cmp match axes#59500
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
very tangential, but it's a shame to have to use exceptions here. partial orders seem like the perfect use case for a |
|
@nanosoldier |
|
The package evaluation job you requested has completed - possible new issues were detected. Report summary❗ Packages that crashed2 packages crashed on the previous version too. ✖ Packages that failed21 packages failed only on the current version.
1339 packages failed on the previous version too. ✔ Packages that passed tests13 packages passed tests only on the current version.
5214 packages passed tests on the previous version too. ~ Packages that at least loaded9 packages successfully loaded only on the current version.
3196 packages successfully loaded on the previous version too. ➖ Packages that were skipped altogether22 packages were skipped only on the current version.
1132 packages were skipped on the previous version too. |
|
@nanosoldier |
|
The package evaluation job you requested has completed - possible new issues were detected. Report summary✖ Packages that failed2 packages failed only on the current version.
2 packages failed on the previous version too. ✔ Packages that passed tests1 packages passed tests only on the current version.
4 packages passed tests on the previous version too. ~ Packages that at least loaded1 packages successfully loaded on the previous version too. |
|
bump |
|
Looks reasonable to me. Should this be mentioned in the docs somewhere? |
|
arguably comparing indices first is "already" lexicographic, and it's just a question of how do you align / zip the axes together, but good idea to spell that out explicitly |
|
CI failure is #59650 seeing two approvals: merging |
closes JuliaLang#48916 as suggested by @oscardssmith > I believe the more consistent behavior here would be for isless to error when comparing two Arrays a and b where eachindex(a,b)∉(eachindex(a), eachindex(b)) (similarly to how it works with Complex numbers or other collections like Dict that don't have an ordering.
closes #48916 as suggested by @oscardssmith