Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There are some mistakes with the README.markdown and Selection Sampling code improvement #998

Open
efemazlumoglu opened this issue Apr 4, 2022 · 0 comments

Comments

@efemazlumoglu
Copy link

Brief Intro

#997
I have created this PR for that issue, there are some mistakes in the README files and also a little improvement for the Selection Sampling example function.

More Details

swap(&a[i], &a[r]) can be written like a.swapAt(i, r)
That would be remove the error called "Overlapping accesses to 'a', but modification requires exclusive access; consider calling MutableCollection.swapAt(::)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant