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

Prohibit call array_diff for arrays that have shapes and tuples inside #1245

Merged
merged 2 commits into from
Feb 28, 2025

Conversation

mkornaukhov03
Copy link
Contributor

@mkornaukhov03 mkornaukhov03 commented Feb 28, 2025

Previously it leads to error in g++ stage. For now it will be caught in transpilation stage.

Note

In reality, it's possible to implement array_diff for shapes and tuples. To solve this we should use hash set (choose appropriate allocator!) instead of array resut in array_diff_impl(). Do not use just hash() instead of projection because it should be injective function.

@mkornaukhov03 mkornaukhov03 merged commit a15ea21 into master Feb 28, 2025
5 checks passed
@mkornaukhov03 mkornaukhov03 deleted the mkornaukhov03/prohibit-array-diff-for-tuples branch February 28, 2025 12:59
@Danil42Russia Danil42Russia added this to the next milestone Mar 1, 2025
@Danil42Russia Danil42Russia added bug Something isn't working compiler Feature related to compiler labels Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler Feature related to compiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants