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

Allow providing an AbstractRNG for seed in spring_layout #214

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

simonschoelly
Copy link
Member

This PR allows one to provide also a Random.AbstractRNG as a seed for spring_layout.

This became necessary as Random.MersenneTwister is not stable over different Julia versions leading to a broken test. Now we can use StableRNG from StableRNGs.jl in that test.

In addition when providing initial locations instead of a seed or a random number generator we now check the length of these vectors.

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

Successfully merging this pull request may close these issues.

1 participant