diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2019-01-02 20:07:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-02 20:07:43 -0800 |
commit | e4e8d99ec19598c77144d3ffde2b5792db4430d3 (patch) | |
tree | 2728954fb74d1a972147380d3afeb6f292b09be5 /examples/api/linear_arith-new.cpp | |
parent | 2f01f504b0c23fbf3bf57252df807079fcd6958e (diff) |
New C++ API: Add tests for mk-functions in solver object. (#2764)
Diffstat (limited to 'examples/api/linear_arith-new.cpp')
-rw-r--r-- | examples/api/linear_arith-new.cpp | 4 |
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 |