OPT: Clean up extraneous recontext logic

This commit is contained in:
David Allemang
2023-01-26 16:41:25 -05:00
parent 486977f444
commit fff18e481f
2 changed files with 11 additions and 18 deletions

View File

@@ -84,7 +84,7 @@ private:
int size;
public:
Combos(const std::vector<T> &options, int k)
Combos(const std::vector<T> &options, size_t k)
: options(options), k(k), size(choose(options.size(), k)) {
}