Robert Garrett 0b31f66bbf fix: Corrected the distributions
I had been carrying the distributions around with the SmallRng object so
that I can provide whatever bounds needed. It turns out that the book
only takes advantage of this a couple of times.

The functions accepting a Uniform struct no longer do. They instead
construct their own temporary one -- hopefully the optimizer can see
through the loops and construct it just once. :l

The change exposed all the uses of the distributions (duh!) and now they
are correct. The effect is most pronounced on the dielectric spheres.
2023-06-06 20:47:32 -05:00
2023-06-06 20:47:32 -05:00
2023-06-03 09:48:54 -05:00
Description
No description provided
AGPL-3.0 15 MiB
Languages
Rust 100%