Skip to content

Commit 4b23e3b

Browse files
committed
swift/t with flowcept
1 parent cef6d88 commit 4b23e3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wfcommons/wfbench/translator/swift_t.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def _add_tasks(self, category: str) -> None:
232232
self.out_files.add(out_file)
233233
args = args.replace(
234234
", of", f", \"{out_file}\"").replace("[i]", "[0]")
235-
self.script += f"string cmd_{self.cmd_counter} = sprintf(command, \"{self.cpu_benchmark}\", \"{category}\", {args});\n" \
235+
self.script += f"string cmd_{self.cmd_counter} = sprintf(command, \"{self.cpu_benchmark}\", \"{category}_{self.cmd_counter}\", {args});\n" \
236236
f"string co_{self.cmd_counter} = python_persist(cmd_{self.cmd_counter});\n" \
237237
f"string of_{self.cmd_counter} = sprintf(\"0%s\", co_{self.cmd_counter});\n" \
238238
f"{category}__out[0] = string2int(of_{self.cmd_counter});\n\n"

0 commit comments

Comments
 (0)