3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-05 23:05:46 +00:00

fixes and performance improvements for interp and duality

This commit is contained in:
Ken McMillan 2014-10-30 17:22:34 -07:00
parent 61905a10db
commit a6f58bdd17
5 changed files with 88 additions and 45 deletions

View file

@ -278,7 +278,8 @@ class iz3mgr {
}
symb sym(ast t){
return to_app(t.raw())->get_decl();
raw_ast *_ast = t.raw();
return is_app(_ast) ? to_app(_ast)->get_decl() : 0;
}
std::string string_of_symbol(symb s){