Akira,
> File "test.py", line 27, in <module>
> print b[i]
> TypeError: 'vector<bool,allocator<bool> >' object does not support indexing
typically means that there's no dictionary loaded for said vector class. Have a look at the results of dir(b) and see whether it has the normal methods.
Best regards,
Wim
-- WLavrijsen_at_lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.netReceived on Tue Jun 29 2010 - 06:11:45 CEST
This archive was generated by hypermail 2.2.0 : Tue Jun 29 2010 - 11:50:01 CEST