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

Commit

Permalink
src/sage/rings/number_field/number_field_element.pyx: Remove unused i…
Browse files Browse the repository at this point in the history
…mport
  • Loading branch information
Matthias Koeppe committed Oct 2, 2021
1 parent c7aa947 commit b8691cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sage/rings/number_field/number_field_element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -3945,7 +3945,6 @@ cdef class NumberFieldElement(FieldElement):
if a <= Kv.one():
return Kv.zero()
ht = a.log()
from sage.rings.real_mpfr import is_RealField
if weighted and not isinstance(Kv, sage.rings.abc.RealField):
ht*=2
return ht
Expand Down

0 comments on commit b8691cc

Please sign in to comment.