mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 21:38:44 +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
|
@ -486,7 +486,8 @@ bool compare_nodes(ast const * n1, ast const * n2) {
|
||||||
q1->get_expr() == q2->get_expr() &&
|
q1->get_expr() == q2->get_expr() &&
|
||||||
q1->get_weight() == q2->get_weight() &&
|
q1->get_weight() == q2->get_weight() &&
|
||||||
q1->get_num_patterns() == q2->get_num_patterns() &&
|
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(),
|
compare_arrays(q1->get_patterns(),
|
||||||
q2->get_patterns(),
|
q2->get_patterns(),
|
||||||
q1->get_num_patterns()) &&
|
q1->get_num_patterns()) &&
|
||||||
|
|
Loading…
Reference in a new issue