Table.vector is a tuple now, expecting list
Created by: subhacom
In Table, the vector is now a tuple. table.vector.size does not work any more.
Reported by: dilawar
Created by: subhacom
In Table, the vector is now a tuple. table.vector.size does not work any more.
Reported by: dilawar
Created by: subhacom
Till this is close, replaced table.vector.size with len(table.vector).
Original comment by: dilawar
Created by: subhacom
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).
Original comment by: subhacom