3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-02-09 12:10:01 +02:00
parent 07d02ea415
commit 81e94b2154

View file

@ -35,7 +35,7 @@ func_decl * pb_decl_plugin::mk_func_decl(decl_kind k, unsigned num_parameters, p
ast_manager& m = *m_manager; ast_manager& m = *m_manager;
for (unsigned i = 0; i < arity; ++i) for (unsigned i = 0; i < arity; ++i)
if (!m.is_bool(domain[i])) if (!m.is_bool(domain[i]))
m.raise_exception("invalid non-Boolean sort applied to 'at-most'"); m.raise_exception("invalid non-Boolean sort applied to Pseudo-Boolean relation");
symbol sym; symbol sym;
switch(k) { switch(k) {
case OP_AT_LEAST_K: sym = m_at_least_sym; break; case OP_AT_LEAST_K: sym = m_at_least_sym; break;