unflatten crashes on an empty larry
Bug #518215 reported by
kwgoodman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
larry |
Fix Released
|
Medium
|
kwgoodman |
Bug Description
unflatten crashes on an empty larry:
>> y = larry([])
>> y.unflatten()
-------
IndexError Traceback (most recent call last)
/home/kg/<ipython console> in <module>()
/ba/devel/
3013 if self.ndim != 1:
3014 raise ValueError, 'Only 1d larrys can be unflattened.'
-> 3015
3016 if self.shape == (0,):
3017 return larry([])
IndexError: invalid index
Changed in larry: | |
milestone: | none → 0.2 |
assignee: | nobody → kwgoodman (kwgoodman) |
importance: | Undecided → Medium |
Changed in larry: | |
status: | New → Fix Committed |
Changed in larry: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.