Re: [ROOT] What cause the root crash quietly?

From: Datao Gong (dtgong@physics.umn.edu)
Date: Fri Mar 07 2003 - 14:42:52 MET


Hi,
Acutally, it crashed before this line. i print message for every step.
BTW,root will throw a exception for this float error instead crash
quietly.



Gong Datao


On Fri, 7 Mar 2003, Axel Naumann wrote:

> Hi,
>
> > But i found if i make the size of 2D array a little
> > bit large, for example 20X20. Root crash quietly.
>
> >         Float_t sen = mc[i][j]*mc[i][j]*1.0/bk[i][j];
>
> When increasing the array (and thus decreasing the bin size) the
> probability increases that one of the bk[i][j]==0. Are you sure you never
> divide by zero?
>
> Cheers, Axel.
>
>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET