Skip to content

Commit 9760fa6

Browse files
fix: replace prange with range in cohens_d function in cell_communication.py
1 parent fae6a58 commit 9760fa6

3 files changed

Lines changed: 1 addition & 1 deletion

File tree

-3 Bytes
Binary file not shown.

src/harreman/tools/cell_communication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def cohens_d(x, y):
232232

233233
out = np.empty(x.shape[0])
234234

235-
for i in prange(x.shape[0]):
235+
for i in range(x.shape[0]):
236236
nx, ny = len(x[i]), len(y[i])
237237
vx, vy = np.var(x[i], ddof=1), np.var(y[i], ddof=1)
238238
pooled = np.sqrt(((nx - 1) * vx + (ny - 1) * vy) / (nx + ny - 2))
-17 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)