Skip to content

Commit d22adc6

Browse files
committed
(simulator) default trip value (should be moved to trip constructor)
1 parent 0bd36f3 commit d22adc6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

simulator/init.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ func ParseInputFile(filePath string) []*ghashcode.Trip {
101101
trip.SetEnd(x, y)
102102
trip.EarliestStart = s
103103
trip.LatestFinish = f
104+
trip.InProgress = false
105+
trip.Taken = false
104106

105107
trips = append(trips, trip)
106108
}

0 commit comments

Comments
 (0)