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 26, 2023
1 parent 4a4e0ed commit 4ae06ef
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 @@ -6230,7 +6230,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 4ae06ef

Please sign in to comment.