Skip to content
Snippets Groups Projects
Commit 826f21ab authored by Jan Hönig's avatar Jan Hönig
Browse files

Minor fix.

parent fa4f153e
No related branches found
No related tags found
1 merge request!292Rebase of pystencils Type System
...@@ -58,6 +58,7 @@ def simplify_loop_counter_dependent_conditional(conditional): ...@@ -58,6 +58,7 @@ def simplify_loop_counter_dependent_conditional(conditional):
if condition_set.is_empty(): if condition_set.is_empty():
conditional.replace_by_false_block() conditional.replace_by_false_block()
return
intersection = iteration_set.intersect(condition_set) intersection = iteration_set.intersect(condition_set)
if intersection.is_empty(): if intersection.is_empty():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment