summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-08-01 23:25:04 -0500
committerGitHub <noreply@github.com>2018-08-01 23:25:04 -0500
commite3d4f6da2307659999e5eb5894d63982e8d487c5 (patch)
tree06a161168a6ab0aefd2fc1dd370a75538187017f /src/smt/smt_engine.cpp
parentce9e2004b59a48c54b78536a53e66de8be94ab7c (diff)
parent1b89c8628eee3d081e91bf99745a16a21c40bf8a (diff)
Merge branch 'master' into rm_svnrm_svn
Diffstat (limited to 'src/smt/smt_engine.cpp')
-rw-r--r--src/smt/smt_engine.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index cfafd63c4..116d2fe23 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -759,12 +759,15 @@ public:
}
}
- void nmNotifyNewSortConstructor(TypeNode tn) override
+ void nmNotifyNewSortConstructor(TypeNode tn, uint32_t flags) override
{
DeclareTypeCommand c(tn.getAttribute(expr::VarNameAttr()),
tn.getAttribute(expr::SortArityAttr()),
tn.toType());
- d_smt.addToModelCommandAndDump(c);
+ if ((flags & ExprManager::SORT_FLAG_PLACEHOLDER) == 0)
+ {
+ d_smt.addToModelCommandAndDump(c);
+ }
}
void nmNotifyNewDatatypes(const std::vector<DatatypeType>& dtts) override
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback