Hello folk, I have a stupid problem sorting an TObjArray. I followed the example in http://root.cern.ch/root/html/examples/tcollex.C.html creating a very simple array of integers, in an inverse order. after the a.Print(); I have TObjNum = 10 TObjNum = 9 TObjNum = 8 TObjNum = 7 then, after a.Sort(); printing again the TObjArray as in the web example I got: TObjNum = 10 TObjNum = 9 TObjNum = 8 TObjNum = 7 4 empty slot 5 empty slot 6 empty slot 7 empty slot 8 empty slot 9 empty slot There is something that I haven't understood about this sort function.... Can someone please give me some help ?? Thanks Andrea
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:21 MET