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

From: Axel Naumann (axel@fnal.gov)
Date: Fri Mar 07 2003 - 07:52:11 MET


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