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/strings-new.cpp | |
parent | 2f01f504b0c23fbf3bf57252df807079fcd6958e (diff) |
New C++ API: Add tests for mk-functions in solver object. (#2764)
Diffstat (limited to 'examples/api/strings-new.cpp')
-rw-r--r-- | examples/api/strings-new.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/api/strings-new.cpp b/examples/api/strings-new.cpp index 2010c6909..c88ccc9c0 100644 --- a/examples/api/strings-new.cpp +++ b/examples/api/strings-new.cpp @@ -57,7 +57,7 @@ int main() // Length of y: |y| Term leny = slv.mkTerm(STRING_LENGTH, y); // |y| >= 0 - Term formula2 = slv.mkTerm(GEQ, leny, slv.mkInteger(0)); + Term formula2 = slv.mkTerm(GEQ, leny, slv.mkReal(0)); // Regular expression: (ab[c-e]*f)|g|h Term r = slv.mkTerm(REGEXP_UNION, |