diff options
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 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); |