Skip to content

Commit

Permalink
Merge pull request #22 from erik-sth/UpToDate
Browse files Browse the repository at this point in the history
Bug fixes.
  • Loading branch information
erik-sth authored Oct 18, 2023
2 parents f12b716 + 41ef46d commit 59f3371
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alg/TimeDistribution/AllocateGroupsToItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function allocateGroupsToItems(
items: Item[],
groups: Group[]
): void {
items.forEach((item) => (item.studentIds = []));
paths.forEach((path) => {
if (path.valueForDistributingOfStudents !== 0) {
const groupId = path.groupId;
Expand Down

0 comments on commit 59f3371

Please sign in to comment.