From: morsch Date: Sat, 27 Mar 2010 10:04:00 +0000 (+0000) Subject: Brute force initialisation of V(,) array at the beginning of each event X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=7a398e1eb8447a8272823c1c9b5fe41d00bbee32;p=u%2Fmrichter%2FAliRoot.git Brute force initialisation of V(,) array at the beginning of each event solves floating point exception (big number in V(4)) Probably a MSTU(33) = 1 at the right position would do the same job. --- diff --git a/PYTHIA6/pythia6.4.21/pythia-6.4.21.f b/PYTHIA6/pythia6.4.21/pythia-6.4.21.f index 5b5e77c9c5c..b0c1bb9610b 100644 --- a/PYTHIA6/pythia6.4.21/pythia-6.4.21.f +++ b/PYTHIA6/pythia6.4.21/pythia-6.4.21.f @@ -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