Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alternatives: fix setting the best alternatives
We called set->best = set->numAlts; after we already increased set->numAlts. This caused the best alternative to be set to the next alternative in the array, not the current one.
- Loading branch information