Closed jonboh closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
64352e4
) 93.29% compared to head (6eef51f
) 93.30%. Report is 9 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Initially I had restricted the trait requirements for G (Generator) to be
Rng+SeedableRng
, however with justRng
a user is perfectly able to use aSeedableRng
, so I don't think it is necessary to set the extra requirement (the default provided by the constructor is itself seeded so a user can just pass a differently seeded generator, as in the provided doctests).With this change we can pin the behaviour of ParticleSwarm in tests and bechmarks.