la.larry(np.ones((2,0,3))).sum() returns NaN
Bug #518442 reported by
kwgoodman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
larry |
Fix Released
|
Low
|
kwgoodman |
Bug Description
After a recent bug fix, larry([]).sum() now returns 0.0.
But:
>> la.larry(
nan
So I guess I need to add another special case for any shapes that are zero.
Also, probably should make a version of empty_larry_test.py that looks at larrys of shape (2,0)
Changed in larry: | |
importance: | Undecided → Low |
Changed in larry: | |
assignee: | nobody → kwgoodman (kwgoodman) |
status: | New → Fix Committed |
Changed in larry: | |
milestone: | none → 0.2 |
Changed in larry: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.