Skip to content

Conversation

@npolina4
Copy link
Contributor

Function np.cov() returns double-precision floating-point dtype by default.
Added dtype parameter in np.cov() function call to avoid upcast of results dtype for single-precision floating-point input.

  • 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?
  • If this PR is a work in progress, are you filing the PR as a draft?

@npolina4 npolina4 requested review from ZzEeKkAa and diptorupd June 20, 2023 20:17
Copy link
Contributor

@ZzEeKkAa ZzEeKkAa left a comment

Choose a reason for hiding this comment

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

LGTM

@ZzEeKkAa ZzEeKkAa merged commit b851eec into main Jun 20, 2023
@ZzEeKkAa ZzEeKkAa deleted the dpnp_cov_dtype branch June 20, 2023 23:53
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.

2 participants