We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3aa1c7 commit 6c5f456Copy full SHA for 6c5f456
1 file changed
src/rapids_singlecell/decoupler_gpu/_helper/_pv.py
@@ -39,4 +39,4 @@ def fdr_bh_axis1(ps):
39
inv_order = cp.argsort(order, axis=1)
40
ps_adj = cp.take_along_axis(ps_monotone, inv_order, axis=1)
41
42
- return cp.clip(ps_adj, 0, 1).get()
+ return cp.clip(ps_adj, 0, 1).get().astype(cp.float32)
0 commit comments