Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
zneedell committed Jul 29, 2024
1 parent 53aa11d commit 3dbb95a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activitysim/core/logit.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ def make_choices(
trace_choosers=trace_choosers,
raise_error=False
)
bad_probs.loc[bad_probs, :] = 0
bad_probs.loc[bad_probs, 0] = 1
probs.loc[bad_probs, :] = 0
probs.loc[bad_probs, 0] = 1

rands = state.get_rn_generator().random_for_df(probs)

Expand Down

0 comments on commit 3dbb95a

Please sign in to comment.