Skip to content

Commit

Permalink
Black abm\models\util\logsums.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeJimFlood committed Nov 7, 2024
1 parent c6f5b56 commit c3b52a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions activitysim/abm/models/util/logsums.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,10 @@ def compute_location_choice_logsums(
)

nest_spec = config.get_logit_model_settings(logsum_settings)
if nest_spec is not None: # nest_spec is None for MNL
nest_spec = simulate.eval_nest_coefficients(nest_spec, coefficients, trace_label)
if nest_spec is not None: # nest_spec is None for MNL
nest_spec = simulate.eval_nest_coefficients(
nest_spec, coefficients, trace_label
)

locals_dict = {}
# model_constants can appear in expressions
Expand Down

0 comments on commit c3b52a4

Please sign in to comment.