[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 : Fri Jun 08 2001 - 11:51:20 MEST