void SmtEngine::addToModelType( Type& t ){
Trace("smt") << "SMT addToModelType(" << t << ")" << endl;
SmtScope smts(this);
+ finalOptionsAreSet();
if( Options::current()->produceModels ) {
d_theoryEngine->getModel()->addDefineType( TypeNode::fromType( t ) );
}
void SmtEngine::addToModelFunction( Expr& e ){
Trace("smt") << "SMT addToModelFunction(" << e << ")" << endl;
SmtScope smts(this);
+ finalOptionsAreSet();
if( Options::current()->produceModels ) {
d_theoryEngine->getModel()->addDefineFunction( e.getNode() );
}