3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 10:52:02 +00:00

add char_decl_plugin

This commit is contained in:
Nikolaj Bjorner 2021-01-26 16:43:03 -08:00
parent 20332c6d3e
commit 32058d9c68
6 changed files with 241 additions and 11 deletions

View file

@ -341,10 +341,9 @@ namespace smt {
return true;
}
// TBD: seq_factory needs to be replaced by a "char_factory" in the case where theory_char is
// a stand-alone theory.
void theory_char::init_model(model_generator & mg) {
m_factory = alloc(seq_factory, get_manager(), get_family_id(), mg.get_model());
m_factory = alloc(char_factory, get_manager(), get_family_id(), mg.get_model());
}
model_value_proc * theory_char::mk_value(enode * n, model_generator & mg) {