Skip to content

Commit

Permalink
Increment potential upset count to 4
Browse files Browse the repository at this point in the history
  • Loading branch information
blchelle committed Oct 5, 2023
1 parent f30d8f3 commit 5175d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/picks/bestWeeklyPicks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const getBestWeeklyPicks = (games: GameData[]): BestProb => {

let totalIterations = 0
const combinations = []
for (let i = 1; i <= 3; i++) {
for (let i = 1; i <= 4; i++) {
const kCombinations = chooseK(gameIndexes, i)
totalIterations += kCombinations.length * Math.pow(2, i)
combinations.push(...kCombinations)
Expand Down

0 comments on commit 5175d59

Please sign in to comment.