Skip to content

Commit 196968c

Browse files
make instruction more precise
1 parent d8cb684 commit 196968c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch03tests/08DiffusionExample.ipynb

Lines changed: 2 additions & 2 deletions
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 random number between 0 and 1,\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",
2626
"1. If $P_0 > P_1$, do the move anyway.\n",
2727
"1. Repeat."
2828
]
@@ -70549,4 +70549,4 @@
7054970549
},
7055070550
"nbformat": 4,
7055170551
"nbformat_minor": 1
70552-
}
70552+
}

0 commit comments

Comments
 (0)