Skip to main content

MAX_EXPR_DEPTH

Constant MAX_EXPR_DEPTH 

Source
pub const MAX_EXPR_DEPTH: usize = 256;
Expand description

How deep integral evaluation will follow an expression tree.

The limit exists because a snapshot can be hostile; without it, a crafted tree would make evaluation run for an unbounded time.