vector __setitem__ raises IndexError at improper time

Bug #549764 reported by Jeff Packer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PyEigen
Status tracked in Trunk
Trunk
Fix Committed
Undecided
Jeff Packer

Bug Description

All vector classes in pyeigen 0.1 raise an IndexError at inappropriate times:

eg:

>> v = pyeigen.Vector4f()
>> v[4] = 10.0 # this should raise an IndexError!
>> v
Vector4f(0.0000, 0.0000, 0.0000, 0.0000)
>> v[3] = 1.0
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IndexError: index out of range
>> v
Vector4f(0.0000, 0.0000, 0.0000, 1.0000)

Related branches

Jeff Packer (jfpacker)
Changed in pyeigen:
assignee: nobody → Jeff Packer (jfpacker)
Jeff Packer (jfpacker)
Changed in pyeigen:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.