From 6a580ed2e52aa48f19b5ea78bc9f7dc69222290d Mon Sep 17 00:00:00 2001 From: OliverSchacht <65898638+OliverSchacht@users.noreply.github.com> Date: Mon, 21 Oct 2024 13:06:22 +0200 Subject: [PATCH] fix: array dtype Signed-off-by: Oliver Schacht --- tests/TestCIT_FastKCI.py | 3 +++ tests/TestCIT_RCIT.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/TestCIT_FastKCI.py b/tests/TestCIT_FastKCI.py index 06a84ba..b8507f7 100644 --- a/tests/TestCIT_FastKCI.py +++ b/tests/TestCIT_FastKCI.py @@ -25,6 +25,9 @@ def test_Gaussian_dist(self): pvalue03.append(round(cit_CIT(0, 3), 4)) pvalue032.append(round(cit_CIT(0, 3, {2}), 4)) + pvalue01 = np.array(pvalue01) + pvalue03 = np.array(pvalue03) + pvalue032 = np.array(pvalue032) self.assertTrue(np.all((0.0 <= pvalue01) & (pvalue01 <= 1.0)), "pvalue01 contains invalid values") self.assertTrue(np.all((0.0 <= pvalue03) & (pvalue03 <= 1.0)), diff --git a/tests/TestCIT_RCIT.py b/tests/TestCIT_RCIT.py index 2482f97..ef6406f 100644 --- a/tests/TestCIT_RCIT.py +++ b/tests/TestCIT_RCIT.py @@ -27,6 +27,9 @@ def test_Gaussian_dist(self): pvalue03.append(round(cit_CIT(0, 3), 4)) pvalue032.append(round(cit_CIT(0, 3, {2}), 4)) + pvalue01 = np.array(pvalue01) + pvalue03 = np.array(pvalue03) + pvalue032 = np.array(pvalue032) self.assertTrue(np.all((0.0 <= pvalue01) & (pvalue01 <= 1.0)), "pvalue01 contains invalid values") self.assertTrue(np.all((0.0 <= pvalue03) & (pvalue03 <= 1.0)),