From 39bfe1490bb2890f38a4c8afebf631c04c381cb4 Mon Sep 17 00:00:00 2001 From: Sam-Armstrong Date: Sat, 13 Jul 2024 03:06:28 +0100 Subject: [PATCH] fix --- ivy/functional/frontends/paddle/linalg.py | 2 +- .../test_ivy/test_frontends/test_paddle/test_linalg.py | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ivy/functional/frontends/paddle/linalg.py b/ivy/functional/frontends/paddle/linalg.py index 3ddc7b69e0c69..0b9f1a511e327 100644 --- a/ivy/functional/frontends/paddle/linalg.py +++ b/ivy/functional/frontends/paddle/linalg.py @@ -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): diff --git a/ivy_tests/test_ivy/test_frontends/test_paddle/test_linalg.py b/ivy_tests/test_ivy/test_frontends/test_paddle/test_linalg.py index 8ad33c676d79d..7f6f14f0ca486 100644 --- a/ivy_tests/test_ivy/test_frontends/test_paddle/test_linalg.py +++ b/ivy_tests/test_ivy/test_frontends/test_paddle/test_linalg.py @@ -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, @@ -435,6 +439,8 @@ def test_paddle_cov( backend_to_test=backend_fw, fn_tree=fn_tree, x=x, + rowvar=rowvar, + ddof=ddof, )