We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0c18bb commit 1603f2eCopy full SHA for 1603f2e
pymare/results.py
@@ -4,6 +4,7 @@
4
from functools import lru_cache
5
from inspect import getfullargspec
6
from warnings import warn
7
+import math
8
9
import numpy as np
10
import pandas as pd
@@ -322,7 +323,7 @@ def permutation_test(self, n_perm=1000):
322
323
324
# Calculate # of permutations and determine whether to use exact test
325
if has_mods:
- n_exact = np.math.factorial(n_obs)
326
+ n_exact = math.factorial(n_obs)
327
else:
328
n_exact = 2**n_obs
329
if n_exact < n_perm:
0 commit comments