mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
fix used_vars reported by Daniel J. H, issue #24
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
This commit is contained in:
parent
d797b0c285
commit
0e8a0822f1
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ unsigned used_vars::get_num_vars() const {
|
|||
unsigned num = m_found_vars.size();
|
||||
for (unsigned i = 0; i < num; i++) {
|
||||
if (m_found_vars[i])
|
||||
return r++;
|
||||
r++;
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue