Skip to content

Commit

Permalink
Fix mod operator
Browse files Browse the repository at this point in the history
  • Loading branch information
JakuJ committed Feb 28, 2023
1 parent 56b12e4 commit 2114ca2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions native-verifier/src/smt_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ impl SMTTranslatable for Expression {
ConstantValue::Int(i64) => i64.to_string(),
ConstantValue::BigInt(s) => s.clone(),
},
Expression::MagicWand(magic_wand) => unimplemented!("Magic wands"),
Expression::MagicWand(_) => unimplemented!("Magic wands are not supported"),
Expression::PredicateAccessPredicate(_access) => {
// TODO: access predicates for predicates
warn!("PredicateAccessPredicate not supported");
Expand Down Expand Up @@ -534,7 +534,7 @@ impl SMTTranslatable for BinaryOpKind {
BinaryOpKind::Sub => "-",
BinaryOpKind::Mul => "*",
BinaryOpKind::Div => "/",
BinaryOpKind::Mod => "%",
BinaryOpKind::Mod => "mod",
BinaryOpKind::And => "and",
BinaryOpKind::Or => "or",
BinaryOpKind::Implies => "=>",
Expand Down

0 comments on commit 2114ca2

Please sign in to comment.