Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc refactoring #980

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Misc refactoring #980

wants to merge 1 commit into from

Conversation

charleskawczynski
Copy link
Member

This PR applies some miscellaneous refactoring:

  • use a concrete eltype in AtmosSim, this should improve inference in places
  • [FT(0)] -> FT[0] guarantees the vector eltype is of type FT, whereas the former pattern may not.
  • Call ones / zeros when working on scalar fields.
  • Add ; to separate positional and keyword arguments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant