Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[drouting] fixed weight based selection
if the last element has weight 1, it will never be selected. This was instroduced with 48c051f. The fix is to actually follow the initial PR approach, which was correct. My attempt to improve the original PR actually broke stuff there :(
- Loading branch information