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