Skip to content

Commit

Permalink
Minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
edopao committed Mar 21, 2024
1 parent e7d75d6 commit a12b6d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/transformations/mapfusion_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,12 @@ def build_sdfg():
sdfg.apply_transformations(MapFusion)

A = np.random.rand(N, K)
B = np.random.rand(N)
B = np.repeat(np.nan, N)
sdfg(A=A, B=B)

assert np.allclose(B, (A[:, K-1] + 1))


def test_fusion_with_inverted_indices():

@dace.program
Expand Down

0 comments on commit a12b6d9

Please sign in to comment.