Skip to content

Commit

Permalink
Remove redundant statement in `backends.numpy.experimental.statistica…
Browse files Browse the repository at this point in the history
…l.cov` (#21397)

Co-authored-by: @AnnaTz
  • Loading branch information
joshiayush committed Aug 16, 2023
1 parent c8e459e commit c22c4be
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ivy/functional/backends/numpy/experimental/statistical.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,6 @@ def cov(
aweights: Optional[np.ndarray] = None,
dtype: Optional[np.dtype] = None,
) -> np.ndarray:
if fweights is not None:
fweights = fweights.astype(np.int64)

return np.cov(
m=x1,
y=x2,
Expand Down

0 comments on commit c22c4be

Please sign in to comment.