Skip to content

PPL Variables cannot be saved #19592

@yuan-zhou

Description

@yuan-zhou

It seems impossible to save an object of the Parma Polyhedra Library's Variable class and then load it.

sage: from sage.libs.ppl import Variable
sage: x = Variable(0)
sage: x.save(os.path.join(SAGE_TMP, 'pplvariable'))
---------------------------------------------------------------------------
AttributeError: 'sage.libs.ppl.Variable' object has no attribute 'save'

sage: save(x, os.path.join(SAGE_TMP, 'pplvariable'))
sage: load(os.path.join(SAGE_TMP, 'pplvariable.sobj'))
---------------------------------------------------------------------------
TypeError: __cinit__() takes exactly 1 positional argument (0 given)

CC: @mkoeppe

Component: geometry

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions