Skip to content

Partition().to_exp() should return Sage Integers #17133

Closed
@jdemeyer

Description

@jdemeyer
sage: e = Partition([2,1,1]).to_exp()
sage: e
[2, 1]
sage: [type(x) for x in e]
[<type 'int'>, <type 'int'>]

Note: as Volker points out in comment [comment:1], there are more places with the same problem. Since this ticket is intended to avoid a doctest failure in #17130, I only fixed this one instance.

Component: combinatorics

Author: Jeroen Demeyer

Branch/Commit: 24020fe

Reviewer: Volker Braun

Issue created by migration from https://trac.sagemath.org/ticket/17133

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions