mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
duality fix
This commit is contained in:
parent
3e91037a4d
commit
fb2caf99e6
|
@ -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…
Reference in a new issue