Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/licensedcode/match_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def high_tids_set_subset(tids_set, len_legalese):
"""
Return a subset of a set of token ids that are only legalese tokens.
"""
return intbitset([i for i in tids_set if i < len_legalese])
return intbitset(i for i in tids_set if i < len_legalese)


def high_tids_multiset_subset(mset, len_legalese):
Expand Down