mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
fix crash
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a8438e081e
commit
e6401908a5
1 changed files with 3 additions and 2 deletions
|
@ -802,8 +802,9 @@ namespace qe {
|
|||
*/
|
||||
expr* reduce_core (app *a) {
|
||||
if (!m_arr_u.is_store (a->get_arg (0))) return a;
|
||||
unsigned arity = get_array_arity(m.get_sort(a));
|
||||
expr* array = a->get_arg (0);
|
||||
expr* array = a->get_arg(0);
|
||||
unsigned arity = get_array_arity(m.get_sort(array));
|
||||
|
||||
expr* const* js = a->get_args() + 1;
|
||||
|
||||
while (m_arr_u.is_store (array)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue