Skip to content

Commit

Permalink
fix to_sdfg in test
Browse files Browse the repository at this point in the history
  • Loading branch information
luigifusco authored and pratyai committed Oct 28, 2024
1 parent 8095aeb commit 96706d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/transformations/if_extraction_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def dependant_application(flag: dace.bool, arr: dace.float32[N]):


def test_simple_application():
sdfg = simple_application.to_sdfg()
sdfg = simple_application.to_sdfg(simplify=True)

assert len(sdfg.nodes()) == 1

Expand All @@ -43,7 +43,7 @@ def test_simple_application():
assert not isinstance(n, NestedSDFG)

def test_fails_due_to_dependency():
sdfg = dependant_application.to_sdfg()
sdfg = dependant_application.to_sdfg(simplify=True)

assert sdfg.apply_transformations_repeated([IfExtraction]) == 0

Expand Down

0 comments on commit 96706d3

Please sign in to comment.