Skip to content

Commit 8d5c45d

Browse files
eric-czechmergify[bot]
authored andcommitted
Fix for #397
1 parent 8c1559a commit 8d5c45d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sgkit/stats/association.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def linear_regression(
9898
# Match to p-values
9999
# Note: t dist not implemented in Dask so this must be delayed
100100
P = da.map_blocks(
101-
lambda t: 2 * stats.distributions.t.sf(np.abs(T), dof), T, dtype="float64"
101+
lambda t: 2 * stats.distributions.t.sf(np.abs(t), dof), T, dtype="float64"
102102
)
103103
assert P.shape == (n_loop_covar, n_outcome)
104104

0 commit comments

Comments
 (0)