MCPcopy Create free account
hub / github.com/Rust-API/Rust-API-Bypass-Checker / refine_equality

Method refine_equality

src/analysis/numerical/interval_domain.rs:392–396  ·  view source on GitHub ↗
(&mut self, expr: &LinearExpression)

Source from the content-addressed store, hash-verified

390 }
391
392 fn refine_equality(&mut self, expr: &LinearExpression) {
393 if let Some((path, low, high)) = interval_from_unary_expr(expr) {
394 self.refine_path_interval(&path, Interval::new(low, high));
395 }
396 }
397
398 fn refine_less_equal(&mut self, expr: &LinearExpression) {
399 let Some((path, coeff, cst)) = unary_linear_expr(expr) else {

Callers 1

add_constraintMethod · 0.80

Calls 2

interval_from_unary_exprFunction · 0.85
refine_path_intervalMethod · 0.80

Tested by

no test coverage detected