Opened 3 years ago
Last modified 3 years ago
#19592 new defect
PPL Variables cannot be saved
Reported by: | yzh | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-6.10 |
Component: | geometry | Keywords: | |
Cc: | mkoeppe | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
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)
Change History (1)
comment:1 Changed 3 years ago by
- Description modified (diff)
- Summary changed from PPL Variables cannot be saved as .sobj to PPL Variables cannot be saved
Note: See
TracTickets for help on using
tickets.