Skip to content

Commit 6f31c76

Browse files
committed
fix allow_zero_probs for prob calculation in EET interaction_sample
1 parent 3b48a07 commit 6f31c76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

activitysim/core/interaction_sample.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def make_sample_choices_utility_based(
9090
utilities,
9191
allow_zero_probs=allow_zero_probs,
9292
trace_label=trace_label,
93+
overflow_protection=not allow_zero_probs,
9394
trace_choosers=choosers,
9495
)
9596
chunk_sizer.log_df(trace_label, "probs", probs)

0 commit comments

Comments
 (0)