Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #30211: "ring=QQ"
Browse files Browse the repository at this point in the history
  • Loading branch information
mjungmath committed Oct 25, 2020
1 parent c7414bd commit 21fee92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/manifolds/differentiable/characteristic_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 21fee92

Please sign in to comment.