File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - " master"
7- pull_request_target :
7+ pull_request :
88 branches :
99 - " *"
1010 schedule :
2727 outputs :
2828 skip : ${{ steps.result_step.outputs.ci-skip }}
2929 steps :
30- - uses : actions/checkout@v2
30+ - uses : actions/checkout@v3
3131 with :
3232 fetch-depth : 0
3333 - id : result_step
5151 run :
5252 shell : bash
5353 steps :
54- - uses : actions/checkout@v2
54+ - uses : actions/checkout@v3
5555 - name : " Set up python"
5656 uses : actions/setup-python@v2
5757 with :
7474 name : Lint with flake8
7575 steps :
7676 - name : Check out source repository
77- uses : actions/checkout@v2
77+ uses : actions/checkout@v3
7878
7979 - name : Set up Python environment
8080 uses : actions/setup-python@v2
Original file line number Diff line number Diff line change 11"""Tools for representing and manipulating meta-regression results."""
22
33import itertools
4+ import math
45from functools import lru_cache
56from inspect import getfullargspec
67from warnings import warn
@@ -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 :
Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ classifiers =
2424[options]
2525python_requires = >= 3.8
2626install_requires =
27- numpy>=1.8.0
27+ numpy>=1.8.0,<2.0; python_version == "3.9" and extra == 'stan'
28+ numpy>=1.8.0; python_version != "3.9" or extra != 'stan'
2829 pandas
2930 scipy
3031 sympy
You can’t perform that action at this time.
0 commit comments