Skip to content

Commit

Permalink
reviewer feedback
Browse files Browse the repository at this point in the history
reviewer feedback
  • Loading branch information
GiacomoPope committed Sep 2, 2024
1 parent a5f87ae commit 5af4b65
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/flint/types/dirichlet.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ cdef class dirichlet_char(object):
>>> from flint import showgood
>>> chi = dirichlet_char(1, 1)
>>> showgood(lambda: chi.l(2), dps=25)
>>> showgood(lambda: chi.l_function(2), dps=25)
1.644934066848226436472415
>>> chi = dirichlet_char(7, 3)
>>> showgood(lambda: chi.l(2+3j), dps=25)
>>> showgood(lambda: chi.l_function(2+3j), dps=25)
1.273313649440490751755284 - 0.07432329442559421607102118j
"""
Expand All @@ -190,7 +190,11 @@ cdef class dirichlet_char(object):
return v

# For backwards compatibility we allow self.l(s) see Issue #210
l = l_function # no-cython-lint
def l(self, s): # no-cython-lint
"""
Alias for :meth:`l_function`
"""
return self.l_function(s)

def hardy_z(self, s):
"""
Expand Down

0 comments on commit 5af4b65

Please sign in to comment.