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

Commit 6be920a

Browse files
author
Matthias Koeppe
committed
src/sage/combinat/words/finite_word.py: Change import of log for symbolic use to import from sage.functions.log
1 parent 0f775a2 commit 6be920a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/combinat/words/finite_word.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1496,7 +1496,7 @@ def topological_entropy(self, n):
14961496
if n == 0:
14971497
return 1
14981498
pn = self.number_of_factors(n)
1499-
from sage.functions.all import log
1499+
from sage.functions.log import log
15001500
return log(pn, base=d)/n
15011501

15021502
def rauzy_graph(self, n):

0 commit comments

Comments
 (0)