Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #19306: sage.rings.arith -> sage.arith.all (after #19879)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheuberg committed Jan 22, 2016
1 parent 809d653 commit 4d80eb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def log_Stirling(var, precision=None, skip_constant_summand=False):
result += log(2*coefficient_ring('pi')) / 2

from sage.misc.misc import srange
from sage.rings.arith import bernoulli
from sage.arith.all import bernoulli
for k in srange(2, 2*precision - 6, 2):
result += bernoulli(k) / k / (k-1) / n**(k-1)

Expand Down

0 comments on commit 4d80eb3

Please sign in to comment.