Skip to content

Commit

Permalink
Use shorter variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Dec 17, 2024
1 parent 17a7550 commit 6ddf5ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def local_authorities(
sim.get_holder("benunit_weight").delete_arrays(
sim.default_calculation_period
)
calculation_result = metric(simulation.selected_sim)
calculation_result = metric(sim)
code = constituency_names.code.iloc[constituency_id]
result[constituency_names.set_index("code").loc[code]["name"]] = (
calculation_result
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def parliamentary_constituencies(
sim.get_holder("benunit_weight").delete_arrays(
sim.default_calculation_period
)
calculation_result = metric(simulation.selected_sim)
calculation_result = metric(sim)
code = constituency_names.code.iloc[constituency_id]
result[constituency_names.set_index("code").loc[code]["name"]] = (
calculation_result
Expand Down

0 comments on commit 6ddf5ca

Please sign in to comment.