Skip to content

Commit 2a6b923

Browse files
committed
Update hmc.txt
Typo
1 parent c5d2aaf commit 2a6b923

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: doc/hmc.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ respectively.
173173
.. literalinclude:: ../code/hmc/hmc.py
174174
:pyobject: simulate_dynamics.leapfrog
175175

176-
The `simulate_dynamics` function performs the full algorithm of Eqs.
176+
The `simulate\_dynamics` function performs the full algorithm of Eqs.
177177
:eq:`leap-frog2`. We start with the initial half-step update of :math:`\phi`
178178
and full-step of :math:`s`, and then scan over the `leapfrog` method
179179
`n\_steps-1` times.
@@ -232,7 +232,7 @@ defined as follows.
232232
:pyobject: kinetic_energy
233233

234234
`hmc\_move` finally returns the tuple `(accept, final\_pos)`. `accept` is a
235-
symbolic boolean variable indicating whether or not the new state `final_pos`
235+
symbolic boolean variable indicating whether or not the new state `final\_pos`
236236
should be used or not.
237237

238238

0 commit comments

Comments
 (0)