summaryrefslogtreecommitdiff
path: root/examples/SimpleVC.rb
diff options
context:
space:
mode:
Diffstat (limited to 'examples/SimpleVC.rb')
-rwxr-xr-xexamples/SimpleVC.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/SimpleVC.rb b/examples/SimpleVC.rb
index 36af3c215..0d19ef49f 100755
--- a/examples/SimpleVC.rb
+++ b/examples/SimpleVC.rb
@@ -47,7 +47,7 @@ twox_plus_y = em.mkExpr(PLUS, twox, y)
three = em.mkConst(CVC4::Integer.new(3))
twox_plus_y_geq_3 = em.mkExpr(GEQ, twox_plus_y, three)
-formula = BoolExpr.new(em.mkExpr(AND, x_positive, y_positive)).impExpr(BoolExpr.new(twox_plus_y_geq_3))
+formula = Expr.new(em.mkExpr(AND, x_positive, y_positive)).impExpr(Expr.new(twox_plus_y_geq_3))
puts "Checking validity of formula " + formula.toString + " with CVC4."
puts "CVC4 should report VALID."
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback