Skip to content

Commit 0d0710c

Browse files
authored
fixed problem with np.NaN #26 (#27)
* fixed problem with np.NaN #26 * removed architecture request from pytest #27
1 parent fcb41da commit 0d0710c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/pytest.yml

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
uses: actions/setup-python@v2
2626
with:
2727
python-version: ${{ matrix.python-version }}
28-
architecture: x64
2928
- name: Install dependencies
3029
run: |
3130
python -m pip install --upgrade pip

src/BootstrapReport/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def __init__(self, estimate, se, replicates):
2222
self.se = se
2323
self.replicates = np.sort(replicates)
2424
self.bias_corrected_tv_value = None
25-
self.best_bandwidth_value = np.NaN
25+
self.best_bandwidth_value = np.nan
2626
self.bias_value = None
2727
self.crossings = None
2828
self.sk_neg, self.sk_pos = helpers.get_sk_dist(self.replicates, norm(loc = self.estimate, scale = self.se), sep = True)

0 commit comments

Comments
 (0)