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

Add vol0 keyword argument to bulk properties #247

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

Liozou
Copy link
Contributor

@Liozou Liozou commented Jan 4, 2024

This PR documents the vol0 keyword argument of volume. It also adds that same keyword argument to all bulk properties that implicitly call volume in order to pass it along, similar to threaded and phase.

I also added a test that fails when the vol0 keyword is not given, to illustrate a typical use-case.

Copy link

codecov bot commented Jan 4, 2024

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (e8d0646) 79.94% compared to head (c193447) 79.97%.

Files Patch % Lines
src/methods/pT.jl 91.04% 6 Missing ⚠️
src/models/CompositeModel/FluidCorrelation.jl 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #247      +/-   ##
==========================================
+ Coverage   79.94%   79.97%   +0.02%     
==========================================
  Files         279      279              
  Lines       19484    19483       -1     
==========================================
+ Hits        15577    15581       +4     
+ Misses       3907     3902       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@longemen3000 longemen3000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@longemen3000 longemen3000 merged commit a3cd75f into ClapeyronThermo:master Jan 4, 2024
10 of 12 checks passed
@Liozou Liozou deleted the vol0bulkprop branch January 4, 2024 16:26
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.

2 participants