Skip to content

Commit 6a580ed

Browse files
committed
fix: array dtype
Signed-off-by: Oliver Schacht <[email protected]>
1 parent 6a837f6 commit 6a580ed

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/TestCIT_FastKCI.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ def test_Gaussian_dist(self):
2525
pvalue03.append(round(cit_CIT(0, 3), 4))
2626
pvalue032.append(round(cit_CIT(0, 3, {2}), 4))
2727

28+
pvalue01 = np.array(pvalue01)
29+
pvalue03 = np.array(pvalue03)
30+
pvalue032 = np.array(pvalue032)
2831
self.assertTrue(np.all((0.0 <= pvalue01) & (pvalue01 <= 1.0)),
2932
"pvalue01 contains invalid values")
3033
self.assertTrue(np.all((0.0 <= pvalue03) & (pvalue03 <= 1.0)),

tests/TestCIT_RCIT.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ def test_Gaussian_dist(self):
2727
pvalue03.append(round(cit_CIT(0, 3), 4))
2828
pvalue032.append(round(cit_CIT(0, 3, {2}), 4))
2929

30+
pvalue01 = np.array(pvalue01)
31+
pvalue03 = np.array(pvalue03)
32+
pvalue032 = np.array(pvalue032)
3033
self.assertTrue(np.all((0.0 <= pvalue01) & (pvalue01 <= 1.0)),
3134
"pvalue01 contains invalid values")
3235
self.assertTrue(np.all((0.0 <= pvalue03) & (pvalue03 <= 1.0)),

0 commit comments

Comments
 (0)