-
-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sage.geometry.polyhedron: Mark doctests # optional - sage.rings.number_field #32652
Comments
Author: Matthias Koeppe |
Dependencies: #32614 |
This comment has been minimized.
This comment has been minimized.
Commit: |
Last 10 new commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
Does - sage: Polyhedron([(0,0), (1,0), (1/2, sqrt(3)/2)])
+ sage: Polyhedron([(0,0), (1,0), (1/2, sqrt(3)/2)]) # optional - sage.symbolic
Traceback (most recent call last):
...
ValueError: no default backend for computations with Symbolic Ring
- sage: SR.is_exact()
+ sage: SR.is_exact() # optional - sage.symbolic
False |
Reviewer: Jonathan Kliem |
comment:7
Replying to @kliem:
No, but number fields are not used in this example |
comment:8
Although here: --- a/src/sage/geometry/polyhedron/constructor.py
+++ b/src/sage/geometry/polyhedron/constructor.py
@@ -177,8 +177,8 @@ equilateral triangle whose vertex coordinates involve `\sqrt{3}`. An
exact way to work with roots in Sage is the :mod:`Algebraic Real Field
<sage.rings.qqbar>` ::
- sage: triangle = Polyhedron([(0,0), (1,0), (1/2, sqrt(3)/2)], base_ring=AA)
- sage: triangle.Hrepresentation()
+ sage: triangle = Polyhedron([(0,0), (1,0), (1/2, sqrt(3)/2)], base_ring=AA) # optional - sage.rings.number_field
+ sage: triangle.Hrepresentation() # optional - sage.rings.number_field
(An inequality (-1, -0.5773502691896258?) x + 1 >= 0,
An inequality (1, -0.5773502691896258?) x + 0 >= 0,
An inequality (0, 1.154700538379252?) x + 0 >= 0) I should have marked it |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
LGTM. |
comment:11
Thank you! |
Changed branch from u/mkoeppe/sage_geometry_polyhedron__mark_doctests___optional___sage_rings_number_field to |
(cherry-picked from #32432)
Depends on #32614
CC: @kliem @tscrim
Component: refactoring
Author: Matthias Koeppe
Branch/Commit:
1400654
Reviewer: Jonathan Kliem
Issue created by migration from https://trac.sagemath.org/ticket/32652
The text was updated successfully, but these errors were encountered: