Skip to content

Commit

Permalink
fix else case: it is first argument of const array
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Mar 3, 2022
1 parent 35d26bc commit 676ba78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/dotnet/NativeModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public bool TryGetArrayValue(Z3_ast t, out ArrayValue result)
if (kind == Z3_decl_kind.Z3_OP_CONST_ARRAY)
{
result = new ArrayValue();
result.Else = r;
result.Else = ntvContext.GetAppArg(r, 0);
result.Updates = updates.ToArray();
result.Domain = updates.Keys.ToArray();
result.Range = updates.Values.ToArray();
Expand Down

0 comments on commit 676ba78

Please sign in to comment.