mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
improve error messages on incorrect parameter passing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
097f4c3a34
commit
7767a23626
3 changed files with 25 additions and 8 deletions
|
@ -604,7 +604,9 @@ bool arith_eq_solver::solve_integer_equations_gcd(
|
|||
}
|
||||
SASSERT(g == r0[i]);
|
||||
}
|
||||
SASSERT(abs(r0[i]).is_one());
|
||||
if (!abs(r0[i]).is_one()) {
|
||||
return false;
|
||||
}
|
||||
live.erase(live.begin()+live_pos);
|
||||
for (j = 0; j < live.size(); ++j) {
|
||||
row& r = rows[live[j]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue