Skip to content

Commit 8a95209

Browse files
committed
Revert elite demand change
1 parent 1e6646e commit 8a95209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airline-data/src/main/scala/com/patson/DemandGenerator.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ object DemandGenerator {
210210
val eliteDemand = generateEliteDemand(fromAirport, destinationList).getOrElse(List.empty)
211211
val eliteDemandChunks = eliteDemand.flatMap {
212212
case (toAirport, (passengerType, demand)) =>
213-
generateChunksForPassengerType(demand, fromAirport, toAirport, passengerType, flightPreferencesPool, airportStats, cycle, cyclePhaseLength) //pass empty map to bypass travelRate and randomizer
213+
generateChunksForPassengerType(demand, fromAirport, toAirport, passengerType, flightPreferencesPool, Map.empty, cycle, cyclePhaseLength) //pass empty map to bypass travelRate and randomizer
214214
}
215215

216216
// Return all chunks originating from `fromAirport`

0 commit comments

Comments
 (0)