diff --git a/tests/codegen/control_flow_detection_test.py b/tests/codegen/control_flow_detection_test.py index d18587196a..982140f7ed 100644 --- a/tests/codegen/control_flow_detection_test.py +++ b/tests/codegen/control_flow_detection_test.py @@ -128,7 +128,7 @@ def tester(a: dace.float64[20]): a[1] = 1 a[2] = 1 - sdfg = tester.to_sdfg() + sdfg = tester.to_sdfg(simplify=True) assert 'goto' not in sdfg.generate_code()[0].code @@ -143,7 +143,7 @@ def tester(a: dace.float64[20]): a[1] = 2 a[2] = 1 - sdfg = tester.to_sdfg() + sdfg = tester.to_sdfg(simplify=True) assert 'goto' not in sdfg.generate_code()[0].code