diff options
Diffstat (limited to 'examples/nra-translate/smt2todreal.cpp')
-rw-r--r-- | examples/nra-translate/smt2todreal.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/nra-translate/smt2todreal.cpp b/examples/nra-translate/smt2todreal.cpp index 34e28bb75..8bdb27181 100644 --- a/examples/nra-translate/smt2todreal.cpp +++ b/examples/nra-translate/smt2todreal.cpp @@ -5,7 +5,7 @@ #include <vector> #include <map> -#include "util/options.h" +#include "options/options.h" #include "expr/expr.h" #include "expr/command.h" #include "parser/parser.h" @@ -15,6 +15,7 @@ using namespace std; using namespace CVC4; using namespace CVC4::parser; +using namespace CVC4::options; int main(int argc, char* argv[]) { @@ -24,8 +25,8 @@ int main(int argc, char* argv[]) // Create the expression manager Options options; - options.inputLanguage = language::input::LANG_SMTLIB_V2; - options.outputLanguage = language::output::LANG_SMTLIB_V2; + options.set(inputLanguage, language::input::LANG_SMTLIB_V2); + options.set(outputLanguage, language::output::LANG_SMTLIB_V2); ExprManager exprManager(options); cout << Expr::dag(0) << Expr::setdepth(-1); |