A comment on debugging Monte Carlo programs.
Abstract:
a number of consistency checks are described for testing the
data structure of a Monte Carlo simulation.
Such tests were found to be instrumental in eliminating
bugs from the Monte Carlo simulation
prgram MMC