lastrank chokes on input shape tuples containing 0

Bug #572638 reported by kwgoodman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
larry
Fix Committed
Low
kwgoodman

Bug Description

>> la.larry([]).lastrank()
<...>
IndexError: list index out of range

Similarly for la.larry([[],[]]).lastrank().

Other input shapes tuples with 0 in them give the wrong output as well.

Related branches

kwgoodman (kwgoodman)
Changed in larry:
importance: Undecided → Low
assignee: nobody → kwgoodman (kwgoodman)
status: New → Fix Committed
milestone: none → 0.3
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.