Skip to content

Commit

Permalink
rename variable of sampling method
Browse files Browse the repository at this point in the history
  • Loading branch information
stegben committed Oct 29, 2018
1 parent 282b3cc commit bfd95c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uttut/expand_by_entities.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ def expand_by_entities(
return [datum]

if sampling_method is None:
sampling_method = lambda k: list(range(k)) # return all possible combinations
sampling_method = lambda n_combinations: list(range(n_combinations))
# return all possible combinations

parts, entity_names = partition_by_entities(datum, include_orig)

Expand Down

0 comments on commit bfd95c7

Please sign in to comment.