Skip to content

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Jul 17, 2025

The PR fixes dpnp.unique with 1d input array and axis=0, equal_nan=True keywords passed where the produced result is wrong and doesn't collapse the NaNs.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

Copy link
Contributor

github-actions bot commented Jul 17, 2025

View rendered docs @ https://intelpython.github.io/dpnp/index.html

Copy link
Contributor

github-actions bot commented Jul 17, 2025

Array API standard conformance tests for dpnp=0.19.0dev1=py313h509198e_19 ran successfully.
Passed: 1227
Failed: 0
Skipped: 9

@coveralls
Copy link
Collaborator

coveralls commented Jul 17, 2025

Coverage Status

coverage: 72.092%. remained the same
when pulling 1b7d987 on unique-equal_nan-axis0-1d
into fed6925 on master.

Copy link
Collaborator

@vtavana vtavana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @antonwolfy!

@antonwolfy antonwolfy merged commit 4901cde into master Jul 17, 2025
141 of 144 checks passed
@antonwolfy antonwolfy deleted the unique-equal_nan-axis0-1d branch July 17, 2025 17:48
github-actions bot added a commit that referenced this pull request Jul 17, 2025
The PR fixes `dpnp.unique` with 1d input array and `axis=0`,
`equal_nan=True` keywords passed where the produced result is wrong and
doesn't collapse the NaNs. 4901cde
antonwolfy added a commit that referenced this pull request Sep 22, 2025
antonwolfy added a commit that referenced this pull request Sep 22, 2025
github-actions bot added a commit that referenced this pull request Sep 22, 2025
antonwolfy added a commit that referenced this pull request Sep 23, 2025
…is=0 and 1d input (#2587)

The PR improves the fix implemented in `dpnp.unique` for axis=0 and 1d
input.
Also it adds an explicit validation in case of floating axis passed.
github-actions bot added a commit that referenced this pull request Sep 23, 2025
…is=0 and 1d input (#2587)

The PR improves the fix implemented in `dpnp.unique` for axis=0 and 1d
input.
Also it adds an explicit validation in case of floating axis passed. 12c324b
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.

3 participants