Opened 4 years ago

Last modified 3 years ago

#26363 closed defect

Polyhedron_normaliz.save — at Version 1

Reported by: Matthias Köppe Owned by:
Priority: major Milestone: sage-9.1
Component: geometry Keywords:
Cc: Jean-Philippe Labbé, Winfried Bruns, Travis Scrimshaw, gh-kliem Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by Matthias Köppe)

sage: P = polytopes.dodecahedron(backend='normaliz')
sage: P
A 3-dimensional polyhedron in (Number Field in sqrt5 with defining polynomial x^2 - 5)^3 defined as the convex hull of 20 vertices
sage: P.save('dodecahedron.sobj')
TypeError: can't pickle PyCapsule objects

As a workaround, #22701 makes it possible to convert to 'field' backend, which can be pickled.

Change History (1)

comment:1 Changed 4 years ago by Matthias Köppe

Description: modified (diff)
Note: See TracTickets for help on using tickets.