Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 6, 2023
1 parent 7fbafd0 commit 861ed71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples/notebooks/learn/neyman/NeymanConstruction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"outputs": [],
"source": [
"def tmu_teststat(mu, muhat, sigma):\n",
" a = (mu - muhat) ** 2 / sigma ** 2\n",
" a = (mu - muhat) ** 2 / sigma**2\n",
" return a"
]
},
Expand Down Expand Up @@ -184,7 +184,7 @@
"def tmu_tilde_teststat(mu, muhat, sigma):\n",
" a = tmu_teststat(mu, muhat, sigma)\n",
"\n",
" b = (0 - muhat) ** 2 / sigma ** 2\n",
" b = (0 - muhat) ** 2 / sigma**2\n",
" r = np.where(muhat < 0, a - b, a)\n",
" return r\n",
"\n",
Expand Down

0 comments on commit 861ed71

Please sign in to comment.