mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
duality fix
This commit is contained in:
parent
3e91037a4d
commit
fb2caf99e6
1 changed files with 4 additions and 2 deletions
|
@ -150,8 +150,10 @@ namespace Duality {
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
if(t.is_quantifier())
|
||||
return CountOperatorsRec(memo,t.body())+2; // count 2 for a quantifier
|
||||
if(t.is_quantifier()){
|
||||
int nbv = t.get_quantifier_num_bound();
|
||||
return CountOperatorsRec(memo,t.body()) + 2 * nbv; // count 2 for each quantifier
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue