Skip to content
Snippets Groups Projects
Commit ea9157aa authored by Oraji, Yussur Mustafa's avatar Oraji, Yussur Mustafa
Browse files

Fix copy-paste issue

parent f78c7155
No related branches found
No related tags found
1 merge request!25Draft: Fortran Support
...@@ -68,10 +68,8 @@ class ForLoop(Branch): ...@@ -68,10 +68,8 @@ class ForLoop(Branch):
@override @override
def header(self): def header(self):
if infvars.generator_language == "c": actual_template = for_template_c if infvars.generator_language == "c" else for_template_fort
return for_template_c.replace("@START@", str(self._start)).replace("@END@", str(self._end)) return actual_template.replace("@START@", str(self._start)).replace("@END@", str(self._end))
else:
return for_template_fort.replace("@START@", str(self._end)).replace("@END@", str(self._end))
@override @override
@staticmethod @staticmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment