Skip to content

Commit 5044a3b

Browse files
committed
swift/t with flowcept
1 parent f6ffccd commit 5044a3b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

wfcommons/wfbench/translator/swift_t.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ def _add_tasks(self, category: str) -> None:
224224
f" string of_{self.cmd_counter} = sprintf(\"0%s\", co_{self.cmd_counter});\n" \
225225
f" {category}__out[i] = string2int(of_{self.cmd_counter});\n" \
226226
"}\n\n"
227-
self.out_files.append(f"{self.output_folder.absolute()}/data/{category}_{num_tasks - 1}_output.txt")
227+
for i in range(num_tasks):
228+
self.out_files.append(f"{self.output_folder.absolute()}/data/{category}_{i}_output.txt")
228229
else:
229230
out_file = f"{self.output_folder.absolute()}/data/{category}_0_output.txt"
230231
self.out_files.append(out_file)

0 commit comments

Comments
 (0)