mirror of
https://github.com/Z3Prover/z3
synced 2025-08-19 01:32:17 +00:00
parent
5dafd1fe25
commit
6a5695463f
5 changed files with 39 additions and 23 deletions
|
@ -813,8 +813,8 @@ theory_var theory_diff_logic<Ext>::mk_var(enode* n) {
|
|||
}
|
||||
|
||||
template<typename Ext>
|
||||
theory_var theory_diff_logic<Ext>::set_sort(exir* n) {
|
||||
if (m_util.is_int(n->get_owner())) {
|
||||
void theory_diff_logic<Ext>::set_sort(expr* n) {
|
||||
if (m_util.is_int(n)) {
|
||||
if (m_lia_or_lra == is_lra) {
|
||||
throw default_exception("difference logic does not work with mixed sorts");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue