Skip to content

Commit

Permalink
Fix confusing variable assignment (no behaviour change since griddata…
Browse files Browse the repository at this point in the history
… passed by reference and mutated)
  • Loading branch information
lukeshingles committed May 14, 2024
1 parent fbf30bf commit 62a107a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artistools/inputmodel/modelfromhydro.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def read_griddat_file(
)

if targetmodeltime_days is not None:
dfmodel, modelmeta = at.inputmodel.scale_model_to_time(
griddata, modelmeta = at.inputmodel.scale_model_to_time(
targetmodeltime_days=targetmodeltime_days, t_model_days=t_model_days, dfmodel=griddata
)
t_model_days = targetmodeltime_days
Expand Down

0 comments on commit 62a107a

Please sign in to comment.