MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / containsError

Function containsError

src/compute-engine/rubi/driver.ts:87–90  ·  view source on GitHub ↗

True if the expression tree contains an `Error` node — a rule RHS that * failed to build a well-formed call (see the reject site in intUncached).

(e: Expression)

Source from the content-addressed store, hash-verified

85// RUBI_NO_NATIVE_RATIONAL: disable the engine-native rational-function
86// fallback (see int()) — for measuring the Rubi rules in isolation.
87const NO_NATIVE_RATIONAL = process.env.RUBI_NO_NATIVE_RATIONAL !== undefined;
88// RUBI_NO_SKELETON: disable the second-level integrand-skeleton dispatch
89// screen (the root-operator candidate buckets + `requiredHeads` feature
90// filter), falling back to a linear scan of every rule with only the
91// root-operator prescreen. The two paths MUST produce identical results
92// (the screen only drops rules that provably cannot match); this switch
93// exists to A/B that equivalence and to measure the screen's speedup.

Callers 1

dispatchMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected