Skip to content

Commit

Permalink
Fixed bugs found by Ali
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeJimFlood authored Mar 14, 2024
1 parent 8fa7202 commit 389131e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activitysim/abm/models/trip_matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ def write_trip_matrices(network_los):
trips_df["origin_parking_zone"] = np.where(
trips_df["tour_id"] == trips_df["tour_id"].shift(1),
np.where(
trip_df["trip_mode"].apply(lambda x: x in auto_modes),
trips_df["trip_mode"].apply(lambda x: x in auto_modes),
trips_df[parking_taz_col_name].shift(1),
-1
)
),
-1
)

Expand Down

0 comments on commit 389131e

Please sign in to comment.