Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong committed Jul 13, 2024
1 parent 8079e2f commit 39bfe14
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ivy/functional/frontends/paddle/linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def cond(x, p=None, name=None):

# cov
@with_supported_dtypes(
{"2.5.1 and below": ("complex64", "complex128", "float32", "float64")}, "paddle"
{"2.6.1 and below": ("complex64", "complex128", "float32", "float64")}, "paddle"
)
@to_ivy_arrays_and_back
def cov(x, rowvar=True, ddof=True, fweights=None, aweights=None, name=None):
Expand Down
8 changes: 7 additions & 1 deletion ivy_tests/test_ivy/test_frontends/test_paddle/test_linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,14 +414,18 @@ def test_paddle_cond(

# cov
@handle_frontend_test(
fn_tree="paddle.tensor.linalg.cov",
fn_tree="paddle.linalg.cov",
dtype_and_x=helpers.dtype_and_values(
available_dtypes=helpers.get_dtypes("float"), num_arrays=1
),
rowvar=st.booleans(),
ddof=st.booleans(),
)
def test_paddle_cov(
*,
dtype_and_x,
rowvar,
ddof,
frontend,
test_flags,
fn_tree,
Expand All @@ -435,6 +439,8 @@ def test_paddle_cov(
backend_to_test=backend_fw,
fn_tree=fn_tree,
x=x,
rowvar=rowvar,
ddof=ddof,
)


Expand Down

0 comments on commit 39bfe14

Please sign in to comment.