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

Rename PhaseEquil outer constructor to PhaseEquil_ρeq, change arg order #47

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

charleskawczynski
Copy link
Member

@charleskawczynski charleskawczynski commented Sep 13, 2021

This PR

  • Changes PhaseEquil outer constructor to PhaseEquil_ρeq (breaking for API changes)
  • Changes internal method air_temperature_given_θρq -> air_temperature_given_ρθq
  • Changes internal method air_temperature_given_θpq -> air_temperature_given_pθq
  • and changes the argument orders appropriately

This will allow us to avoid method ambiguities between PhaseEquil and PhaseEquil_ρeq.

@codecov
Copy link

codecov bot commented Sep 13, 2021

Codecov Report

Merging #47 (72a199e) into main (505890d) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #47   +/-   ##
=======================================
  Coverage   97.67%   97.67%           
=======================================
  Files           7        7           
  Lines         775      775           
=======================================
  Hits          757      757           
  Misses         18       18           
Impacted Files Coverage Δ
src/relations.jl 98.58% <100.00%> (ø)
src/states.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 505890d...72a199e. Read the comment docs.

@charleskawczynski
Copy link
Member Author

bors r+

@charleskawczynski
Copy link
Member Author

bors ping

1 similar comment
@charleskawczynski
Copy link
Member Author

bors ping

@bors
Copy link
Contributor

bors bot commented Sep 13, 2021

pong

@charleskawczynski
Copy link
Member Author

bors r+

@bors bors bot merged commit 47912df into main Sep 13, 2021
@bors bors bot deleted the ck/rename_phase_equil branch September 13, 2021 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant