Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
1 -> b0 (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
k-fretaud authored and remi-garcia committed Dec 11, 2019
1 parent 2e273d1 commit 4130bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solution.jl
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function initialize_batches!(solution::Solution, instance::Instance)
push!(solution.colors, batch)
end
batch = Batch(1, b0)
current_color = instance.color_code[solution.sequence[1]]
current_color = instance.color_code[solution.sequence[b0]]
push!(solution.colors, batch)
for position in (b0+1):solution.length
car = solution.sequence[position]
Expand Down

0 comments on commit 4130bec

Please sign in to comment.