Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix disconnect between bv and population in selection() (#24)
In `selection()`, if `population` is sorted or modified, `bv` still retained the old ordering and data. The resulting MUS is overweighted towards small values and/or still contains negative values. This proposed fix keeps `bv` updated when `population` is modified.
- Loading branch information