Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Jan 4, 2025
1 parent 21a896e commit 7877543
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sage/rings/number_field/maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def _call_(self, v):
(a + 2*b0, a, 2*b0*a + b0)
"""
from sage.libs.pari import pari

K = self.codomain()
B = K.base_field().absolute_field('a')
# Convert v to a PARI polynomial in x with coefficients that
Expand Down
4 changes: 2 additions & 2 deletions src/sage/rings/number_field/number_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -4689,7 +4689,7 @@ def S_class_group(self, S, proof=None, names='c'):
with defining polynomial x^2 + 14 with a = 3.741657386773942?*I
"""
from .class_group import SClassGroup

proof = proof_flag(proof)
if all(P.is_principal() for P in S):
C = self.class_group(proof=proof)
Expand Down Expand Up @@ -9640,7 +9640,7 @@ def places(self, all_complex=False, prec=None):
"""
if prec is None:
from sage.rings.real_mpfi import RIF

R = RIF
C = CIF

Expand Down

0 comments on commit 7877543

Please sign in to comment.