Skip to content

Commit 4d111f2

Browse files
authored
Merge pull request #653 from psrc/develop
Selecting choices from joint tour participant ID column explicitly;
2 parents 69465d9 + 27fba90 commit 4d111f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

activitysim/abm/models/joint_tour_participation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def joint_tour_participation(
432432
# its value depends on whether the candidate's 'participant_id' is in the joint_tour_participant index
433433
survey_participants_df = estimator.get_survey_table("joint_tour_participants")
434434
participate = pd.Series(
435-
choices.index.isin(survey_participants_df.index.values), index=choices.index
435+
choices.index.isin(survey_participants_df.participant_id), index=choices.index
436436
)
437437

438438
# but estimation software wants to know the choices value (alternative index)

0 commit comments

Comments
 (0)