From c3b52a4b02082c113e4a4b90fb1823463e3ca9ef Mon Sep 17 00:00:00 2001 From: JoeJimFlood Date: Thu, 7 Nov 2024 13:34:43 -0800 Subject: [PATCH] Black abm\models\util\logsums.py --- activitysim/abm/models/util/logsums.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/activitysim/abm/models/util/logsums.py b/activitysim/abm/models/util/logsums.py index cb173f994..f9e4208f0 100644 --- a/activitysim/abm/models/util/logsums.py +++ b/activitysim/abm/models/util/logsums.py @@ -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