Ruairidh South
Ruairidh South
I recently ran into a bug due to this issue. A warning about Inf weights would have helped me to find the problem faster. I see the PR wasn't accepted...
> Actually the PR wasn't rejected, it was closed by its author (I don't know why). Would you be willing to make a new PR with its contents? #814
> Fair enough. Nobody complained on Slack so maybe this corner case isn't used in practice. > > @ruairidhs Sorry for the change in plans, but would you be willing...
I added a check when constructing AbstractWeights and also for setindex!. Let me know what you think, happy to make changes