mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
modify offset check to accept linear expressions over numerals. Codeplex issue 81
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
23313e5bdc
commit
b1b349f496
1 changed files with 2 additions and 0 deletions
|
@ -310,6 +310,8 @@ struct check_logic::imp {
|
|||
return false;
|
||||
non_numeral = arg;
|
||||
}
|
||||
if (non_numeral == 0)
|
||||
return true;
|
||||
if (is_diff_var(non_numeral))
|
||||
return true;
|
||||
if (!m_a_util.is_add(non_numeral) && !m_a_util.is_sub(non_numeral))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue