mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 04:28:17 +00:00
parent
e17b43617c
commit
859512d937
|
@ -730,7 +730,11 @@ namespace smt {
|
|||
|
||||
template<typename Ext>
|
||||
theory_var theory_arith<Ext>::internalize_numeral(app * n, numeral const& val) {
|
||||
SASSERT(!get_context().e_internalized(n));
|
||||
|
||||
context& ctx = get_context();
|
||||
if (ctx.e_internalized(n)) {
|
||||
return mk_var(ctx.get_enode(n));
|
||||
}
|
||||
enode * e = mk_enode(n);
|
||||
// internalizer is marking enodes as interpreted whenever the associated ast is a value and a constant.
|
||||
// e->mark_as_interpreted();
|
||||
|
|
Loading…
Reference in a new issue