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

Commit

Permalink
23950: fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
rwst committed Oct 19, 2017
1 parent 49c6ff7 commit 3cbfac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/coding/code_bounds.py
Expand Up @@ -578,7 +578,7 @@ def entropy(x, q=2):
sage: codes.bounds.entropy(0, 2)
0
sage: codes.bounds.entropy(1/5,4).factor()
1/10*(log(3) - 4*log(4/5) - log(1/5))/log(2)
1/10*(log(5) + log(3) - 4*log(4/5))/log(2)
sage: codes.bounds.entropy(1, 3)
log(2)/log(3)
Expand Down

0 comments on commit 3cbfac6

Please sign in to comment.