Skip to content

Commit

Permalink
Only mention constraint in error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed Dec 10, 2024
1 parent 09773df commit cb5638d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/src/witgen/jit/affine_symbolic_expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ impl<T: FieldElement, V: Ord + Clone + Display> AffineSymbolicExpression<T, V> {
return if self.offset.is_known_zero() {
Ok(vec![])
} else {
Err(EvalError::ConstraintUnsatisfiable(format!("{self} != 0")))
Err(EvalError::ConstraintUnsatisfiable(self.to_string()))
};
}
1 => {
Expand Down

0 comments on commit cb5638d

Please sign in to comment.