3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 09:34:08 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-10-02 21:06:35 -07:00
parent d4c60f5766
commit 3e6080b265

View file

@ -2336,10 +2336,9 @@ namespace smt2 {
func_decl_ref_vector decls(m());
vector<expr_ref_vector> bindings;
vector<svector<symbol> > ids;
expr_ref_vector bodies(m());
parse_rec_fun_decls(decls, bindings, ids);
for (unsigned i = 0; i < decls.size(); ++i) {
m_ctx.insert(decls[i].get());
for (func_decl* d : decls) {
m_ctx.insert(d);
}
parse_rec_fun_bodies(decls, bindings, ids);