Skip to content

Commit

Permalink
revert change to drop size terms
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensle committed May 9, 2024
1 parent 6cb139b commit 17826ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activitysim/abm/models/trip_destination.py
Original file line number Diff line number Diff line change
Expand Up @@ -1336,6 +1336,8 @@ def run_trip_destination(
# returns a series of size_terms for each chooser's dest_zone_id and purpose with chooser index
size_term_matrix = DataFrameMatrix(alternatives)

# don't need size terms in alternatives, just zone_id index
alternatives = alternatives.drop(alternatives.columns, axis=1)
alternatives.index.name = model_settings.ALT_DEST_COL_NAME

sample_list = []
Expand Down

0 comments on commit 17826ed

Please sign in to comment.