Skip to content

Commit f6ed92d

Browse files
authored
Merge pull request #4 from mkschleg/master
Updated iterator to include job_id as well
2 parents cc05d3b + bd1281f commit f6ed92d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Manager.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function Base.iterate(iter::_CM_Iterator, state=(1,1))
8181
cm = copy(iter.manager)
8282

8383
parse!(cm, state[1], state[2])
84-
return cm, new_state
84+
return ((state[1]-1)*iter.num_runs + state[2], cm), new_state
8585

8686
end
8787

0 commit comments

Comments
 (0)