Fix range errors when accessing histogram values.
Compare changes
@@ -299,13 +299,16 @@ double TFCS1DFunctionHistogram::get_inverse(double rnd) const
Fixes occasional range errors when accessing elements of a vector when running the job mentioned in ATLASSIM-4429. Occasional NANs in verbose logs disappear. So, it likely will change the output.