Skip to content

Update the RNG guide with split and without StateAxes#5363

Open
samanklesaria wants to merge 1 commit intogoogle:mainfrom
samanklesaria:rng_guide_update
Open

Update the RNG guide with split and without StateAxes#5363
samanklesaria wants to merge 1 commit intogoogle:mainfrom
samanklesaria:rng_guide_update

Conversation

@samanklesaria
Copy link
Collaborator

Now that the fork methods for RNGs have been split off from the split methods, we need to update the RNG guide to use the split methods (or users will see deprecation warnings when they try to follow the guide). Also: StateAxes is not tree-mode compatible, so we have to remove their use in the guide.

@samanklesaria samanklesaria requested a review from cgarciae March 20, 2026 17:06
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

def split(self, k: tp.Mapping[filterlib.Filter, int | tuple[int, ...]] | int | tuple[int, ...]):
"""
Splits the keys of the newly created ``Rngs`` object.
Splits the keys of a ``Rngs`` object.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably be a separate PR, but it's such a minor fix

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

Successfully merging this pull request may close these issues.

1 participant