We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec8cb35 commit 2f1e749Copy full SHA for 2f1e749
src/sage/combinat/integer_vector.py
@@ -855,7 +855,8 @@ def __init__(self, n):
855
self.n = n
856
if self.n == 0:
857
IntegerVectors.__init__(self, category=EnumeratedSets())
858
- IntegerVectors.__init__(self, category=InfiniteEnumeratedSets())
+ else:
859
+ IntegerVectors.__init__(self, category=InfiniteEnumeratedSets())
860
861
def _repr_(self):
862
"""
@@ -996,7 +997,8 @@ def __init__(self, k):
996
997
self.k = k
998
if self.k == 0:
999
1000
1001
1002
1003
1004
0 commit comments