Skip to content

Commit 1603f2e

Browse files
committed
switch from np.math to math
1 parent d0c18bb commit 1603f2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pymare/results.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from functools import lru_cache
55
from inspect import getfullargspec
66
from warnings import warn
7+
import math
78

89
import numpy as np
910
import pandas as pd
@@ -322,7 +323,7 @@ def permutation_test(self, n_perm=1000):
322323

323324
# Calculate # of permutations and determine whether to use exact test
324325
if has_mods:
325-
n_exact = np.math.factorial(n_obs)
326+
n_exact = math.factorial(n_obs)
326327
else:
327328
n_exact = 2**n_obs
328329
if n_exact < n_perm:

0 commit comments

Comments
 (0)