File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
src/sage/rings/finite_rings Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -629,7 +629,7 @@ cdef class IntegerMod_abstract(FiniteRingElement):
629
629
else :
630
630
return sib(self .parent())(v)
631
631
632
- def log (self , b = None , logarithm_exists = None ):
632
+ def log (self , b = None ):
633
633
r """
634
634
Compute the discrete logarithm of this element to base `b`,
635
635
that is,
@@ -759,11 +759,6 @@ cdef class IntegerMod_abstract(FiniteRingElement):
759
759
760
760
- Lorenz Panny ( 2021) : speedups for composite moduli
761
761
"""
762
-
763
- if logarithm_exists is not None :
764
- from sage.misc.superseded import deprecation
765
- deprecation(32375 , ' The "logarithm_exists" argument to .log() is no longer necessary and will be removed at some point.' )
766
-
767
762
if not self .is_unit():
768
763
raise ValueError (f" logarithm of {self} is not defined since it is not a unit modulo {self.modulus()}" )
769
764
You can’t perform that action at this time.
0 commit comments