Skip to content

Commit

Permalink
rename l_function method name
Browse files Browse the repository at this point in the history
fixes E743
  • Loading branch information
GiacomoPope committed Sep 2, 2024
1 parent be0e410 commit a5f87ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ build-backend = "mesonpy"

[tool.cython-lint]
max-line-length = 120
ignore = ['E128','E129','E202','E221','E222','E261','E262','E265','E501','E731','E741','E743']
ignore = ['E128','E129','E202','E221','E222','E261','E262','E265','E501','E731','E741']
exclude = 'src/flint/flintlib/.*'

[tool.spin]
Expand Down
5 changes: 4 additions & 1 deletion src/flint/types/dirichlet.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ cdef class dirichlet_char(object):
else:
return fmpz(v)

def l(self, s):
def l_function(self, s):
"""
Evaluates the Dirichlet L-function of this character at the given
complex number s.
Expand All @@ -189,6 +189,9 @@ cdef class dirichlet_char(object):
acb_dirichlet_l((<acb>v).val, (<acb>s).val, self.G.val, self.val, getprec())
return v

# For backwards compatibility we allow self.l(s) see Issue #210
l = l_function # no-cython-lint

def hardy_z(self, s):
"""
Evaluates the Hardy Z-function of this character at the given
Expand Down

0 comments on commit a5f87ae

Please sign in to comment.