Skip to content

Commit

Permalink
Minor merge sets bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KxmischesDomi committed Oct 14, 2023
1 parent 902604a commit 95ea8bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,8 @@ export const mergeItemSets = (itemSet1: Item[], itemSet2: Item[]): Item[] => {
console.log("Found biggest number for times " + i + " which is " + Math.max(value1, value2));
}

} else {
newItemSet.push(newItem);
}
newItemSet.push(newItem);

});

Expand Down

0 comments on commit 95ea8bf

Please sign in to comment.