Closed vladserkoff closed 6 years ago
Good catch! Thanks for submitting this. The main repository is actually on GitLab (https://gitlab.com/Plasticity/magnitude) and the GitHub is just a one-way mirror repository. So I won't merge this PR here, but I'll cherry pick this commit and merge it to the GitLab later. If you have a GitLab account and need this merged in faster, feel free to open a PR there instead.
It's not critical for me, just noticed this bug while reading the code. So feel free to merge whenever you want
Otherwise
i % 100000
evaluates toTrue
99999 out of 100000 times