3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-28 22:18:56 +00:00

various fixes

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-06-02 19:10:20 +05:30
parent 57fc0f3f55
commit 4415df3fcf
6 changed files with 89 additions and 77 deletions

View file

@ -184,8 +184,10 @@ namespace datalog {
}
relation_base * product_relation_plugin::mk_full(func_decl* p, const relation_signature & s, family_id kind) {
if (kind == null_family_id) {
return alloc(product_relation, *this, s);
if (kind == null_family_id || !m_spec_store.contains_signature(s)) {
product_relation* result = alloc(product_relation, *this, s);
result->m_default_empty = false;
return result;
}
rel_spec spec;
m_spec_store.get_relation_spec(s, kind, spec);