Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtekson authored Apr 3, 2023
1 parent eac45a5 commit 80e0869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/safepython/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def aggregate_boot(S, alfa=0.05):
for j in range(R): # loop over sample sizes

S_m[j, :] = np.nanmean(S[j], axis=0) # bootstrap mean
idx = ~np.isnan(S[j][:, 1])
idx = ~np.isnan(S[j][:, 0])
if np.sum(idx) < Nboot:
warn('Statistics were computed using ' + '%d' % (np.sum(idx))+
' bootstrap resamples instead of '+'%d' % (Nboot))
Expand Down Expand Up @@ -520,4 +520,4 @@ def allrange(y, par):

idx = np.full(y.shape, True, dtype=bool)

return idx
return idx

0 comments on commit 80e0869

Please sign in to comment.