From 0b4860129e0f686594667be1ad3a3e1073478a56 Mon Sep 17 00:00:00 2001 From: "John H. Palmieri" Date: Wed, 4 May 2022 11:00:10 -0700 Subject: [PATCH] trac 33794: in modules/fp_graded/steenrod/profile.py, explicitly convert integer to Sage Integer. --- src/sage/modules/fp_graded/steenrod/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage/modules/fp_graded/steenrod/profile.py b/src/sage/modules/fp_graded/steenrod/profile.py index 5dd91e1b267..0e30b4b413d 100755 --- a/src/sage/modules/fp_graded/steenrod/profile.py +++ b/src/sage/modules/fp_graded/steenrod/profile.py @@ -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: