Skip to content

Commit

Permalink
fix import of dedekind_sum
Browse files Browse the repository at this point in the history
  • Loading branch information
videlec committed Dec 22, 2023
1 parent 1f06da4 commit 2082c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/arith/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -6203,7 +6203,7 @@ def dedekind_sum(p, q, algorithm='default'):
- :wikipedia:`Dedekind\_sum`
"""
if algorithm == 'default' or algorithm == 'flint':
from sage.libs.flint.arith import dedekind_sum as flint_dedekind_sum
from sage.libs.flint.arith_sage import dedekind_sum as flint_dedekind_sum
return flint_dedekind_sum(p, q)

if algorithm == 'pari':
Expand Down

0 comments on commit 2082c34

Please sign in to comment.