CICE-Consortium / Icepack

Development repository for sea-ice column physics
Other
25 stars 131 forks source link

icepack_parameters: don't recompute constants in icepack_query_parameters #465

Closed phil-blain closed 10 months ago

phil-blain commented 10 months ago

PR checklist

All parameters of icepack_parameters::icepack_query_parameters are intent(out), so it does not make sense to recompute constants at the end of that subroutine since no constants are changed. This superfluous call dates back to the introduction of icepack_query_parameters (then called icepack_query_constants) in 7646f2a (Migrate icepack_constants out of the columnphysics/constants directory..., 2017-10-04).

Remove that call.