Skip to content

Commit

Permalink
trac 33794: in modules/fp_graded/steenrod/profile.py, explicitly
Browse files Browse the repository at this point in the history
convert integer to Sage Integer.
  • Loading branch information
jhpalmieri committed May 4, 2022
1 parent eb1a786 commit 0b48601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/modules/fp_graded/steenrod/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def profile_elt(elt, char=2):
pass

if char == 2:
minprofile = [max(0, n.exact_log(char) + 1) for n in elt]
minprofile = [max(0, ZZ(n).exact_log(char) + 1) for n in elt]
return find_min_profile(minprofile, char)

# odd primes:
Expand Down

0 comments on commit 0b48601

Please sign in to comment.