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

fix for github issue 54

This commit is contained in:
Ken McMillan 2015-05-19 18:47:13 -07:00
parent 69a3590490
commit ccc1f02216
3 changed files with 25 additions and 3 deletions

View file

@ -279,6 +279,12 @@ class iz3mgr {
res[i] = arg(t,i);
}
std::vector<ast> args(const ast &t){
std::vector<ast> res;
get_args(t,res);
return res;
}
symb sym(ast t){
raw_ast *_ast = t.raw();
return is_app(_ast) ? to_app(_ast)->get_decl() : 0;