Opened 6 years ago
Last modified 6 weeks 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 (2)
comment:1 Changed 6 years ago by
- Description modified (diff)
- Summary changed from PPL Variables cannot be saved as .sobj to PPL Variables cannot be saved
comment:2 Changed 6 weeks ago by
Note: See
TracTickets for help on using
tickets.
After the switch to
pplpy
, alreadysave
fails: