BUGFIX: Make `Andersen` work with both the legacy and the modern NumPy PRNGs

Closes #1533 (closed)

A test is also added to test both legacy and modern NumPy PRNGs.

The bugfix may be relatively straightforward, so I would like to merge it after a few days unless any concerns are raised.

Checklist

Merge request reports

Loading