3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-08 00:05:46 +00:00

revert first fix for #1173, replace by handling single arity chainables

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-07-28 08:44:19 -07:00
parent 64233034cc
commit e9b9a29339
2 changed files with 8 additions and 5 deletions

View file

@ -414,10 +414,10 @@ inline decl_kind arith_decl_plugin::fix_kind(decl_kind k, unsigned arity) {
return OP_UMINUS;
}
switch (k) {
case OP_LE: check_arity(arity, 2); break;
case OP_GE: check_arity(arity, 2); break;
case OP_LT: check_arity(arity, 2); break;
case OP_GT: check_arity(arity, 2); break;
case OP_LE: break;
case OP_GE: break;
case OP_LT: break;
case OP_GT: break;
case OP_ADD: break;
case OP_SUB: break;
case OP_UMINUS: check_arity(arity, 1); break;