Skip to content

Commit

Permalink
Try fix flatmap
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Feb 8, 2024
1 parent 2de0e29 commit d3e28cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ onehot_isempty(set::BitSet) = isempty(set)
if VERSION >= v"1.9"
flatmap = Iterators.flatmap
else
flatmap(f, iterators) = Iterators.flatten(map(f, iterators...))
flatmap(f, iterators) = Iterators.flatten(Iterators.map(f, iterators...))
end

0 comments on commit d3e28cc

Please sign in to comment.