diff options
Diffstat (limited to 'src/smt/smt_engine.cpp')
-rw-r--r-- | src/smt/smt_engine.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp index d7c1ece96..c4492d3a1 100644 --- a/src/smt/smt_engine.cpp +++ b/src/smt/smt_engine.cpp @@ -734,10 +734,14 @@ class SmtEnginePrivate : public NodeManagerListener { } } - void nmNotifyNewDatatypes(const std::vector<DatatypeType>& dtts) override + void nmNotifyNewDatatypes(const std::vector<DatatypeType>& dtts, + uint32_t flags) override { - DatatypeDeclarationCommand c(dtts); - d_smt.addToModelCommandAndDump(c); + if ((flags & ExprManager::DATATYPE_FLAG_PLACEHOLDER) == 0) + { + DatatypeDeclarationCommand c(dtts); + d_smt.addToModelCommandAndDump(c); + } } void nmNotifyNewVar(TNode n, uint32_t flags) override |