mirror of
https://github.com/Z3Prover/z3
synced 2025-06-29 09:28:45 +00:00
move mk_fresh to inside files that include smt_context.h directly to address build problem reported in #297
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
73c4e938ce
commit
8d1fa3ae50
13 changed files with 35 additions and 7 deletions
|
@ -39,6 +39,11 @@ namespace smt {
|
|||
m_edges.push_back(edge());
|
||||
}
|
||||
|
||||
template<typename Ext>
|
||||
theory* theory_dense_diff_logic<Ext>::mk_fresh(context * new_ctx) {
|
||||
return alloc(theory_dense_diff_logic<Ext>, new_ctx->get_manager(), m_params);
|
||||
}
|
||||
|
||||
template<typename Ext>
|
||||
inline app * theory_dense_diff_logic<Ext>::mk_zero_for(expr * n) {
|
||||
return m_autil.mk_numeral(rational(0), get_manager().get_sort(n));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue