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

Adding coverage for vec_permutations #286

Merged
merged 1 commit into from
May 27, 2024
Merged

Adding coverage for vec_permutations #286

merged 1 commit into from
May 27, 2024

Conversation

sjsrey
Copy link
Member

@sjsrey sjsrey commented Mar 24, 2024

This adds coverage for crand.vec_permtuations.

It was inspired by attempting to change our random number generation scheme to follow the modern tooling in numpy.

However, numpy.random.Generator.choice is not yet supported in numba.

So, that update will have to wait until a new version of numba that supports the new Generator.

For now, this PR adds some test coverage for our existing implementation.

@sjsrey sjsrey added the tests label Mar 24, 2024
@jGaboardi
Copy link
Member

jGaboardi commented Mar 24, 2024

Failures in CI are unrelated to this PR – #285.

@ljwolf ljwolf merged commit 61c86c9 into pysal:main May 27, 2024
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants