mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
ignore qid if they are both numerical - come from the parser
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6e53621146
commit
a374e2c575
1 changed files with 2 additions and 1 deletions
|
@ -486,7 +486,8 @@ bool compare_nodes(ast const * n1, ast const * n2) {
|
|||
q1->get_expr() == q2->get_expr() &&
|
||||
q1->get_weight() == q2->get_weight() &&
|
||||
q1->get_num_patterns() == q2->get_num_patterns() &&
|
||||
q1->get_qid() == q2->get_qid() &&
|
||||
((q1->get_qid().is_numerical() && q2->get_qid().is_numerical()) ||
|
||||
(q1->get_qid() == q2->get_qid())) &&
|
||||
compare_arrays(q1->get_patterns(),
|
||||
q2->get_patterns(),
|
||||
q1->get_num_patterns()) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue