3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-11 13:40:52 +00:00

fix model transformation bug in bit blaster rule transformer, reported by Sagar Chaki

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-07-08 11:21:19 +02:00
parent d6de73a2d1
commit 4f7d872d59
2 changed files with 2 additions and 1 deletions

View file

@ -71,7 +71,7 @@ namespace datalog {
unsigned arity_p = p->get_arity();
unsigned arity_q = q->get_arity();
SASSERT(0 < arity_p);
model->register_decl(p, f);
model->register_decl(p, f->copy());
func_interp* g = alloc(func_interp, m, arity_q);
if (f) {