Skip to main content

MAX_GRID_INTERVALS

Constant MAX_GRID_INTERVALS 

Source
pub const MAX_GRID_INTERVALS: usize = 1_000_000;
Expand description

Most intervals log_energy_grid will build. A guard against an input whose points_per_decade would otherwise request an unbounded allocation (found by the malformed-input corpus in tests/input_robustness.rs); the default grid uses a few hundred.