Hello ROOTers,
I get the following error running the attached PyROOT script test.py. It seems that std::vector<Bool_t> cannot be used as indexible array. Is this a PyROOT limitation? Any workaround?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "test.py", line 27, in <module>
print b[i]
TypeError: 'vector<bool,allocator<bool> >' object does not support indexing
Regards,
--
OKUMURA, Akira oxon@{astro.isas.jaxa.jp,stanford.edu}
Institute of Space and Astronautical Science (ISAS/JAXA)
Now at KIPAC/SLAC/Stanford
Varian Physics #306
382 Via Pueblo Mall, MC 406 Stanford, CA94305
TEL 650-736-0971/FAX 650-724-5065
Skype : okumura.akira
Received on Tue Jun 29 2010 - 05:34:39 CEST
This archive was generated by hypermail 2.2.0 : Tue Jun 29 2010 - 11:50:01 CEST