Skip to content

Commit

Permalink
Merge pull request #4 from mkschleg/master
Browse files Browse the repository at this point in the history
Updated iterator to include job_id as well
  • Loading branch information
ajjacobs authored Jan 20, 2020
2 parents cc05d3b + bd1281f commit f6ed92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manager.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function Base.iterate(iter::_CM_Iterator, state=(1,1))
cm = copy(iter.manager)

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

end

Expand Down

0 comments on commit f6ed92d

Please sign in to comment.