3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-20 18:20:22 +00:00

dealing with issues #402 #399 #258

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-01-09 13:29:44 -08:00
parent fc4260e018
commit 20cfbcd66b
6 changed files with 51 additions and 5 deletions

View file

@ -328,6 +328,9 @@ namespace smt {
// Ignore equality if variables are already known to be equal.
if (is_equal(x, y))
return;
if (get_manager().get_sort(var2expr(x)) != get_manager().get_sort(var2expr(y))) {
return;
}
context & ctx = get_context();
region & r = ctx.get_region();
enode * _x = get_enode(x);