From 21fee92369a6b47b5e07ba272e72bc195dd6c1f1 Mon Sep 17 00:00:00 2001 From: Michael Jung Date: Sun, 25 Oct 2020 10:48:27 +0100 Subject: [PATCH] Trac #30211: "ring=QQ" --- src/sage/manifolds/differentiable/characteristic_class.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sage/manifolds/differentiable/characteristic_class.py b/src/sage/manifolds/differentiable/characteristic_class.py index 9781a0f0e17..87f97eee0f5 100644 --- a/src/sage/manifolds/differentiable/characteristic_class.py +++ b/src/sage/manifolds/differentiable/characteristic_class.py @@ -321,7 +321,7 @@ from sage.structure.unique_representation import UniqueRepresentation from sage.misc.cachefunc import cached_method from sage.structure.sage_object import SageObject -from sage.symbolic.ring import SR +from sage.rings.rational_field import QQ ################################################################################ ## Separate functions @@ -624,7 +624,7 @@ def function(self): return self._func @cached_method - def sequence(self, ring=SR): + def sequence(self, ring=QQ): r""" Return the multiplicative/additive sequence (depending on the class type of ``self``) of ``self.function`` in terms of elementary symmetric @@ -647,9 +647,9 @@ def sequence(self, ring=SR): INPUT: - - ``ring`` -- (default: ``SR``) the base ring of the symmetric + - ``ring`` -- (default: ``QQ``) the base ring of the symmetric function ring; in most cases, one can assume ``QQ`` which is - supposed to work faster + supposed to work faster, if it doesn't work, try ``SR`` instead. OUTPUT: