Skip to content

Commit 8576c2a

Browse files
fix typo: uniformaly -> uniformly
1 parent feb1677 commit 8576c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch03tests/08DiffusionExample.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"1. If second energy is lower, accept move.\n",
2323
"1. $\\beta$ is a parameter which determines how likely\n",
2424
" the simulation is to move from a 'less favourable' situation to a 'more favourable' one.\n",
25-
"1. Compute $P_0=e^{-\\beta (E_1 - E_0)}$ and $P_1$ a uniformaly distributed random number between 0 and 1,\n",
25+
"1. Compute $P_0=e^{-\\beta (E_1 - E_0)}$ and $P_1$ a uniformly distributed random number between 0 and 1,\n",
2626
"1. If $P_0 > P_1$, do the move anyway.\n",
2727
"1. Repeat."
2828
]

0 commit comments

Comments
 (0)