mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 06:55:10 +00:00
27 lines
1.4 KiB
Diff
27 lines
1.4 KiB
Diff
|
diff --git a/src/sage/geometry/polyhedron/backend_normaliz.py b/src/sage/geometry/polyhedron/backend_normaliz.py
|
||
|
index 86b89632a5..ca8a43b248 100644
|
||
|
--- a/src/sage/geometry/polyhedron/backend_normaliz.py
|
||
|
+++ b/src/sage/geometry/polyhedron/backend_normaliz.py
|
||
|
@@ -53,7 +53,7 @@ def _number_field_elements_from_algebraics_list_of_lists_of_lists(listss, **kwds
|
||
|
1.732050807568878?
|
||
|
sage: from sage.geometry.polyhedron.backend_normaliz import _number_field_elements_from_algebraics_list_of_lists_of_lists
|
||
|
sage: K, results, hom = _number_field_elements_from_algebraics_list_of_lists_of_lists([[[rt2], [1]], [[rt3]], [[1], []]]); results # optional - sage.rings.number_field
|
||
|
- [[[-a^3 + 3*a], [1]], [[-a^2 + 2]], [[1], []]]
|
||
|
+ [[[-a^3 + 3*a], [1]], [[a^2 - 2]], [[1], []]]
|
||
|
"""
|
||
|
from sage.rings.qqbar import number_field_elements_from_algebraics
|
||
|
numbers = []
|
||
|
diff --git a/src/sage/lfunctions/pari.py b/src/sage/lfunctions/pari.py
|
||
|
index d2b20f1891..6c31efe239 100644
|
||
|
--- a/src/sage/lfunctions/pari.py
|
||
|
+++ b/src/sage/lfunctions/pari.py
|
||
|
@@ -339,7 +339,7 @@ def lfun_eta_quotient(scalings, exponents):
|
||
|
0.0374412812685155
|
||
|
|
||
|
sage: lfun_eta_quotient([6],[4])
|
||
|
- [[Vecsmall([7]), [Vecsmall([6]), Vecsmall([4])]], 0, [0, 1], 2, 36, 1]
|
||
|
+ [[Vecsmall([7]), [Vecsmall([6]), Vecsmall([4]), 0]], 0, [0, 1], 2, 36, 1]
|
||
|
|
||
|
sage: lfun_eta_quotient([2,1,4], [5,-2,-2])
|
||
|
Traceback (most recent call last):
|