Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.

Commit

Permalink
fix typo in qtidle case in asymptotic_calculator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
marinang committed Jun 18, 2019
1 parent b11d032 commit feffb49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lauztat/calculators/asymptotic_calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ def pvalue(self, poinull, poialt=None, qtilde=False, onesided=True,
pnull_2 += 1. - norm.cdf(sqrtqobs)
palt_2 += 1. - norm.cdf(sqrtqobs + sqrtqalt)

pnull = np.where(cond, pnull, pnull_2)
palt = np.where(cond, palt, palt_2)
pnull = np.where(cond, pnull_2, pnull)
palt = np.where(cond, palt_2, palt)

return pnull, palt

Expand Down

0 comments on commit feffb49

Please sign in to comment.