Skip to content

Commit

Permalink
Remove unused methods (#2303)
Browse files Browse the repository at this point in the history
  • Loading branch information
Schaeff authored Jan 3, 2025
1 parent 6d2249a commit 91202ee
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions ast/src/analyzed/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1568,22 +1568,6 @@ impl<T> AlgebraicExpression<T> {
_ => false,
})
}

/// @returns true if the expression contains a reference to a next value of a witness column.
pub fn contains_next_witness_ref(&self) -> bool {
self.expr_any(|e| match e {
AlgebraicExpression::Reference(poly) => poly.next && poly.is_witness(),
_ => false,
})
}

/// @returns true if the expression contains a reference to a witness column.
pub fn contains_witness_ref(&self) -> bool {
self.expr_any(|e| match e {
AlgebraicExpression::Reference(poly) => poly.is_witness(),
_ => false,
})
}
}

impl<T> ops::Add for AlgebraicExpression<T> {
Expand Down

0 comments on commit 91202ee

Please sign in to comment.