mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 09:34:08 +00:00
also allw n-ary distrinct
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
This commit is contained in:
parent
4f02d380aa
commit
e3b1ce1fdc
|
@ -809,8 +809,12 @@ class env {
|
|||
r = terms[0] / terms[1];
|
||||
}
|
||||
else if (!strcmp(ch,"$distinct")) {
|
||||
check_arity(terms.size(), 2);
|
||||
r = terms[0] != terms[1];
|
||||
if (terms.size() == 2) {
|
||||
r = terms[0] != terms[1];
|
||||
}
|
||||
else {
|
||||
r = distinct(terms);
|
||||
}
|
||||
}
|
||||
else if (!strcmp(ch,"$floor") || !strcmp(ch,"$to_int")) {
|
||||
check_arity(terms.size(), 1);
|
||||
|
|
Loading…
Reference in a new issue