Skip to content

Commit

Permalink
fix: count_nonzero minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmunioz authored Sep 15, 2023
1 parent 230e917 commit 84e6206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ivy/functional/frontends/paddle/math.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ def cosh(x, name=None):
"paddle",
)
@to_ivy_arrays_and_back
def count_nonzero(x, axis=None, keepdims=False, name=None):
return ivy.astype(ivy.count_nonzero(x, axis=axis, keepdims=keepdims), ivy.int64)
def count_nonzero(x, axis=None, keepdim=False, name=None):
return ivy.astype(ivy.count_nonzero(x, axis=axis, keepdims=keepdim), ivy.int64)


@with_supported_dtypes(
Expand Down

0 comments on commit 84e6206

Please sign in to comment.