summaryrefslogtreecommitdiff
path: root/examples/api/linear_arith-new.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/api/linear_arith-new.cpp')
-rw-r--r--examples/api/linear_arith-new.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/api/linear_arith-new.cpp b/examples/api/linear_arith-new.cpp
index aae2fa67e..2edcaf71e 100644
--- a/examples/api/linear_arith-new.cpp
+++ b/examples/api/linear_arith-new.cpp
@@ -36,8 +36,8 @@ int main()
Sort integer = slv.getIntegerSort();
// Variables
- Term x = slv.mkVar(integer, "x");
- Term y = slv.mkVar(real, "y");
+ Term x = slv.mkConst(integer, "x");
+ Term y = slv.mkConst(real, "y");
// Constants
Term three = slv.mkReal(3);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback