Skip to content

Commit 27521b8

Browse files
author
Matthias Koeppe
committed
src/sage/geometry/polyhedron/base.py: Fix doctest
1 parent daced1d commit 27521b8

File tree

1 file changed

+4
-3
lines changed
  • src/sage/geometry/polyhedron

1 file changed

+4
-3
lines changed

src/sage/geometry/polyhedron/base.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,12 +1175,13 @@ def _polymake_init_(self):
11751175
11761176
Floating-point polyhedron::
11771177
1178-
sage: P = polytopes.dodecahedron(exact=False); P # needs sage.groups
1178+
sage: # optional - jupymake, needs sage.groups
1179+
sage: P = polytopes.dodecahedron(exact=False); P
11791180
A 3-dimensional polyhedron in RDF^3 defined as the convex hull of 20 vertices
1180-
sage: print("Maybe recompile warning"); PP = polymake(P); PP # optional - jupymake, needs sage.groups
1181+
sage: print("There may be a recompilation warning"); PP = polymake(P); PP
11811182
There may be a recompilation warning...
11821183
Polytope<Float>[...]
1183-
sage: sorted(PP.VERTICES[:], key=repr)[0] # optional - jupymake, needs sage.groups
1184+
sage: sorted(PP.VERTICES[:], key=repr)[0]
11841185
1 -0.472135955 0 -1.236067978
11851186
11861187
"""

0 commit comments

Comments
 (0)