}\r
\r
//FIXME: use the theory enumerator to generate constants here\r
-Node TheoryModel::getNewDomainValue( TypeNode tn, bool mkConst ){\r
+Node TheoryModel::getNewDomainValue( TypeNode tn ){\r
if( tn==NodeManager::currentNM()->booleanType() ){\r
if( d_ra.d_type_reps[tn].empty() ){\r
return d_false;\r
return n2;\r
}else{\r
//otherwise, choose new value\r
- n2 = getNewDomainValue( type, true );\r
+ n2 = getNewDomainValue( type );\r
if( !n2.isNull() ){\r
return n2;\r
}else{\r
if( tm->d_reps.find( n )!=tm->d_reps.end() ){\r
TypeNode tn = n.getType();\r
//add new constant to equivalence class\r
- Node rep = tm->getNewDomainValue( tn, true );\r
+ Node rep = tm->getNewDomainValue( tn );\r
if( !rep.isNull() ){\r
tm->assertEquality( n, rep, true );\r
}else{\r
/** get existing domain value, with possible exclusions */\r
Node getDomainValue( TypeNode tn, std::vector< Node >& exclude );\r
/** get new domain value */\r
- Node getNewDomainValue( TypeNode tn, bool mkConst = false );\r
+ Node getNewDomainValue( TypeNode tn );\r
public:\r
/** assert equality */\r
void assertEquality( Node a, Node b, bool polarity );\r
}\r
}\r
\r
-#endif
\ No newline at end of file
+#endif\r