Skip to content

Commit 5627d66

Browse files
committed
yet another detail
1 parent 70f3bb5 commit 5627d66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/rings/polynomial/integer_valued_polynomials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ def h_vector(self) -> vector:
824824
sage: ex.h_vector()
825825
(0, 1, 4, 1)
826826
"""
827-
d = max(self.support(), default=-1)
827+
d = ZZ(max(self.support(), default=-1))
828828
m = matrix(QQ, d + 1, d + 1,
829829
lambda j, i: (-1)**(d - j) * (d - i).binomial(d - j))
830830
v = vector(self.base_ring(),

0 commit comments

Comments
 (0)