Skip to content

Commit

Permalink
typo in pcsaft_vc
Browse files Browse the repository at this point in the history
  • Loading branch information
longemen3000 committed Feb 24, 2024
1 parent 7ceb5fb commit 4ffaee7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "EoSSuperancillaries"
uuid = "c1bf003f-4e47-49d9-bdfd-5a4051db3c04"
authors = ["Pierre Walker <[email protected]>", "Andrés Riedemann <[email protected]>"]
version = "1.2.0"
version = "1.2.1"

[deps]
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Expand Down
4 changes: 2 additions & 2 deletions src/PCSAFT/pcsaft.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Outputs:
"""
function pcsaft_rhoc(m,σ)
m⁻¹ = 1/m
ρ̃c = cheb_eval(PCSAFTsuperanc.rho_c,m⁻¹)
ρ̃c = cheb_eval(PCSAFTsuperanc.rhoc,m⁻¹)
return ρ̃c/(N_A*σ*σ*σ)
end

Expand All @@ -73,7 +73,7 @@ Outputs:
"""
function pcsaft_vc(m,σ)
m⁻¹ = 1/m
ρ̃c = cheb_eval(PCSAFTsuperanc.rho_c,m⁻¹)
ρ̃c = cheb_eval(PCSAFTsuperanc.rhoc,m⁻¹)
return (N_A*σ*σ*σ)/ρ̃c
end

Expand Down
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ end
@test rhov_m64_09 5.0222327626229e-06
@test rhol_m64_07 0.00927005575174636
@test rhov_m64_07 3.25402208337432e-11
@test pcsaft_vc(1.0,3.7039e-10) 0.00015056228788554133
end

2 comments on commit 4ffaee7

@longemen3000
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request updated: JuliaRegistries/General/101590

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.2.1 -m "<description of version>" 4ffaee778bb3335d49b2475ef7b1817f7081205e
git push origin v1.2.1

Please sign in to comment.