Skip to content

Commit

Permalink
fix for toolkit Costdistribution keyword arg update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieran-Fishwick-TfN committed Jan 8, 2025
1 parent e062bb3 commit de68775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/caf/distribute/gravity_model/multi_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def from_pandas(
cat_tld = tld[tld[tld_cat_col] == category]

cat_cost_distribution = cost_utils.CostDistribution(
cat_tld, tld_min_col, tld_max_col, tld_avg_col, tld_trips_col
cat_tld, tld_min_col, max_col=tld_max_col, avg_col=tld_avg_col, trips_col=tld_trips_col
)

return cls(category, cat_cost_distribution, cat_zone_indices, func_params)
Expand Down

0 comments on commit de68775

Please sign in to comment.