Menu

#142 Table.vector is a tuple now, expecting list

async13
open
nobody
pymoose (6)
9
2014-06-05
2014-06-04
dilawars
No

In Table, the vector is now a tuple. table.vector.size does not work any more.

Discussion

  • dilawars

    dilawars - 2014-06-04

    Till this is close, replaced table.vector.size with len(table.vector).

     
  • Subhasis Ray

    Subhasis Ray - 2014-06-05

    len is always a more generic form (applies to all kinds of sequences), and hence preferred. But Table.vector is a numpy array if USE_NUMPY=1 and tuple otherwise. Please check your main Makefile and see if you have set USE_NUMPY=0 (or passing the same in command line).

     

Anonymous
Anonymous

Add attachments
Cancel