Changes between Initial Version and Version 6 of Ticket #17548


Ignore:
Timestamp:
12/25/14 17:31:56 (5 years ago)
Author:
tmonteil
Comment:

I was very puzzled when i saw this ticket, since my Turing tests were not able to conclude (unless we just reached the singularity). I propose to reopen the ticket since the report is correct.

By the way, i am not sure the following is a correct behaviour:

sage: P = Partitions(5, min_slope=2)
sage: Q = Partitions(5)
sage: Q[0] 
[5]
sage: Q[0] in P
False

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17548

    • Property Status changed from new to needs_work
    • Property Authors changed from z to
    • Property Component changed from number theory to combinatorics
    • Property Summary changed from sage5.7 Partitions() error to Partitions() involving min_slope argument is buggy
    • Property Dependencies changed from sage 5.7 to
    • Property Branch changed from v5.7 to
    • Property Milestone changed from sage-feature to sage-6.5
    • Property Owner changed from z to ferriszorro
    • Property Reviewers changed from f to
    • Property Merged in changed from sage5.7 to
  • Ticket #17548 – Description

    initial v6  
    1 sage: Partitions(5,min_slope=1).list()
    2 [[5], [2, 4]]
     1The following bug was reported by an humanoid:
     2
     3{{{
     4sage: Partitions(5, min_slope=1).list()
     5ValueError: [2, 4] is not a valid partition
     6}}}
     7
     8Even worse (since silent):
     9
     10{{{
     11sage: Partitions(5, min_slope=2).list()
     12[[5]]
     13}}}
     14
     15Or
     16