Skip to content

Commit 1e2479b

Browse files
committed
Relax cool_lex so that it works on Integer (from Int)
1 parent a748259 commit 1e2479b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/combinations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ end
121121

122122
#Converts an integer bit pattern X into a subset
123123
#If X & 2^k == 1, then k is in the subset
124-
function _cool_lex_visit(X::Int)
124+
function _cool_lex_visit(X::Integer)
125125
subset = Int[]
126126
n=1
127127
while X != 0

0 commit comments

Comments
 (0)