summaryrefslogtreecommitdiff
path: root/examples/api/linear_arith-new.cpp
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2019-01-14 17:02:53 -0800
committerAndres Noetzli <andres.noetzli@gmail.com>2019-01-14 17:02:53 -0800
commitc8664731adc61ab3967b74fe90ad44fb464dc556 (patch)
tree495766d37af08f4f587ed18ac224deaae5402b1b /examples/api/linear_arith-new.cpp
parent2771dce1fe1933537f80d68966642ecf3bf95f77 (diff)
parent8d9c190ccf806460bfc336daee33ed56f151e563 (diff)
Merge remote-tracking branch 'fork/loopProcessOpts' into cav2019strings
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 ef8faade9..d643b85bc 100644
--- a/examples/api/linear_arith-new.cpp
+++ b/examples/api/linear_arith-new.cpp
@@ -40,8 +40,8 @@ int main()
Term y = slv.mkVar("y", real);
// Constants
- Term three = slv.mkInteger(3);
- Term neg2 = slv.mkInteger(-2);
+ Term three = slv.mkReal(3);
+ Term neg2 = slv.mkReal(-2);
Term two_thirds = slv.mkReal(2, 3);
// Terms
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback