Skip to content

Conversation

samir-nasibli
Copy link

@samir-nasibli samir-nasibli commented Oct 28, 2021

Description

  • fixed setting high_dim_size variable on cython level

Root cause

Setting high_dim_size variable value was accidentally changed on #953, see https://github.com/IntelPython/dpnp/pull/953/files#diff-848ee382ceb656b32b8b6a920adc5a66bf65c04af2789d34beca1af7209cf898R839

len(multidim_array) shouldn't be equal to its whole size multidim_array.size() for ndim array. so #953 bad fix for this.

TODO

update/reimplement tests for shuffle

fixed setting high_dim_size var
@densmirn
Copy link
Contributor

We need to unskip test tests/test_random.py::TestPermutationsTestShuffle::test_shuffle1[lambda x: dpnp.asarray([[i, i] for i in x])].

@samir-nasibli
Copy link
Author

@Alexander-Makaryev will this pr be merged?

@antonwolfy
Copy link
Contributor

Closed since no plans to implement that.

@antonwolfy antonwolfy closed this Feb 20, 2024
@antonwolfy antonwolfy deleted the samir-nasibli/fix/random_shuffle branch May 14, 2025 16:40
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.

4 participants