Skip to content

Commit

Permalink
score
Browse files Browse the repository at this point in the history
  • Loading branch information
fredmaggiowski committed Feb 24, 2022
1 parent ff595cd commit 5e07446
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions algorithm.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ func algorithm(
projectA := projects[a]
projectB := projects[b]

scoreA := projectA.bestBefore
scoreB := projectB.bestBefore
scoreA := projectA.score
scoreB := projectB.score

return scoreA < scoreB
return scoreA > scoreB
})

nextDay := 0
Expand Down

0 comments on commit 5e07446

Please sign in to comment.