diff --git a/Project.toml b/Project.toml index 5403b7d..878c226 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "EoSSuperancillaries" uuid = "c1bf003f-4e47-49d9-bdfd-5a4051db3c04" authors = ["Pierre Walker ", "Andrés Riedemann "] -version = "1.2.0" +version = "1.2.1" [deps] StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" diff --git a/src/PCSAFT/pcsaft.jl b/src/PCSAFT/pcsaft.jl index ff4b71c..5cff4df 100644 --- a/src/PCSAFT/pcsaft.jl +++ b/src/PCSAFT/pcsaft.jl @@ -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 @@ -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 diff --git a/test/runtests.jl b/test/runtests.jl index e3a67d0..cb25393 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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 \ No newline at end of file