Skip to content

Commit

Permalink
chore: fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
fwestling committed Apr 6, 2024
1 parent 7e9fdcf commit aa2d490
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/v8/tournament.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ export default class Tournament {
let worstCaseTravelTime = Number.POSITIVE_INFINITY;
for (const team of this.teams) {
const slots = this.getAllTimeslots()
.filter((s) => !breaks.includes(s.activityId))
.filter((t) => t.teams.includes(team.id))
.sort((a, b) => a.start - b.start);
const travelTimes = slots.map((slot, i) => {
Expand Down

0 comments on commit aa2d490

Please sign in to comment.