Skip to content

Commit

Permalink
Docs: Correct the default random engine in GATE
Browse files Browse the repository at this point in the history
The default GATE random engine is James Random (and apparently has been
throughout the available Git history), but the documentation mistakenly stated
MersenneTwister as the default.
  • Loading branch information
cpommranz committed Feb 3, 2024
1 parent cc07de6 commit be5d9d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ time duration, the last line of your program has to be **exit**.
As a Monte Carlo tool, GATE needs a random generator. The CLHEP libraries
provide various ones. Four different random engines are currently available in
GATE, Ranlux64, James Random, MixMaxRng (default random engine in Geant4), and Mersenne Twister. The default random
engine in GATE is Mersenne Twister, but this can be changed easily using::
engine in GATE is James Random, but this can be changed easily using::

/gate/random/setEngineName aName (where aName can be: Ranlux64, JamesRandom, MixMaxRng, or MersenneTwister)

Expand Down

0 comments on commit be5d9d9

Please sign in to comment.