~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to Template/NLO/Source/ranmar.f

Fixed a problem in the setting of the random seed when not recompiling
the code. Thanks Josh Bendavid for reporting this bug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
      if (init .eq. 1) then
51
51
         init = 0
52
52
         call get_offset(ioffset)
53
 
         if (iseed .eq. 0) call get_base(iseed)
 
53
cRF : always read the seed from the randinit file (this file is updated
 
54
c by amcatnlo_run_interface every time a run starts). This makes sure
 
55
c that the code does not need any remcompilation when only the seed is
 
56
c changed (useful for NLO gridpack mode).
 
57
c$$$         if (iseed .eq. 0) call get_base(iseed)
 
58
         call get_base(iseed)
54
59
c
55
60
c     TJS 3/13/2008
56
61
c     Modified to allow for more sequences