Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nina Burgdorfer authored and Nina Burgdorfer committed Nov 16, 2023
1 parent f45d92a commit 779ae8b
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,12 +363,8 @@ def cast_nested_tuple(

a = cases.allocate(cartesian_case, cast_tuple, "a")()
b = cases.allocate(cartesian_case, cast_tuple, "b")()
a_casted_to_int_outside_of_gt4py = cases.allocate(
cartesian_case, cast_tuple, "a", dtype=int32
)()
b_casted_to_int_outside_of_gt4py = cases.allocate(
cartesian_case, cast_tuple, "b", dtype=int32
)()
a_casted_to_int_outside_of_gt4py = gtx.np_as_located_field(IDim)(np.asarray(a).astype(int32))
b_casted_to_int_outside_of_gt4py = gtx.np_as_located_field(IDim)(np.asarray(b).astype(int32))
out_tuple = cases.allocate(cartesian_case, cast_tuple, cases.RETURN)()
out_nested_tuple = cases.allocate(cartesian_case, cast_nested_tuple, cases.RETURN)()

Expand Down

0 comments on commit 779ae8b

Please sign in to comment.