]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Brute force initialisation of V(,) array at the beginning of each event
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 27 Mar 2010 10:04:00 +0000 (10:04 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 27 Mar 2010 10:04:00 +0000 (10:04 +0000)
solves floating point exception (big number in V(4))
Probably a MSTU(33) = 1 at the right position would do the same job.

PYTHIA6/pythia6.4.21/pythia-6.4.21.f

index 5b5e77c9c5cefb40e426bb513b4d3ec57aaa03a2..b0c1bb9610babebbfaf4a048128d77b2cb1ae83d 100644 (file)
@@ -3575,7 +3575,12 @@ C...Stop if no subprocesses on.
         WRITE(MSTU(11),5100)
         CALL PYSTOP(1)
       ENDIF
+
+      DO 2 I = 1, 4000
+         DO 1 J = 1, 5
+            V(I,J) = 0.
+ 1       ENDDO
+ 2    ENDDO
 C...Initial values for some counters.
       MSTU(1)=0
       MSTU(2)=0