diff options
Diffstat (limited to 'examples/api/helloworld-new.cpp')
-rw-r--r-- | examples/api/helloworld-new.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/api/helloworld-new.cpp b/examples/api/helloworld-new.cpp index 484995143..3e3c7426b 100644 --- a/examples/api/helloworld-new.cpp +++ b/examples/api/helloworld-new.cpp @@ -24,7 +24,7 @@ using namespace CVC4::api; int main() { Solver slv; - Term helloworld = slv.mkVar("Hello World!", slv.getBooleanSort()); + Term helloworld = slv.mkVar(slv.getBooleanSort(), "Hello World!"); std::cout << helloworld << " is " << slv.checkValidAssuming(helloworld) << std::endl; return 0; |