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:
parent
69a3590490
commit
ccc1f02216
3 changed files with 25 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue