[ROOT] strange seg faults

From: Gregory Novak (Gregory.Novak@cern.ch)
Date: Fri Mar 02 2001 - 02:23:49 MET


As an addendum to my previous mail, I find that if I change the array
allocation in sliceMedain from
Float_t sortedX[n];
to 
Float_t *sortedX;
sortedX = new Float_t [n]; 

then the code runs.

Thanks,
Greg



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:38 MET