pub const MAX_DIVERGENCE_ATTEMPTS: u32 = 1000;Expand description
Most deflected directions drawn for one primary before
Bca::with_divergence’s inward conditioning gives up with
BcaError::BeamDivergence. For the small-angle spreads the input
front end accepts, one draw is inward with probability about one half or
more, so exhausting 1000 attempts has probability below 2^-1000; the
bound only guarantees that a pathological setting cannot hang a run.