diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2019-03-18 15:05:00 -0700 |
---|---|---|
committer | Aina Niemetz <aina.niemetz@gmail.com> | 2019-03-18 17:26:29 -0700 |
commit | a4f76da78653e80c28740b2ad4bf3929110d5a25 (patch) | |
tree | 6bf777ff332d8a9e760ce98d0a7e88752929bfd1 /examples/api/linear_arith-new.cpp | |
parent | 7e3457b0e16cacef456287ae761c5293be1209d5 (diff) |
New C++: Remove redundant mkVar function.
s
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 d643b85bc..c194458ae 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("x", integer); - Term y = slv.mkVar("y", real); + Term x = slv.mkVar(integer, "x"); + Term y = slv.mkVar(real, "y"); // Constants Term three = slv.mkReal(3); |