Skip to content

Commit

Permalink
typo in initial_guess
Browse files Browse the repository at this point in the history
  • Loading branch information
longemen3000 committed Jul 5, 2024
1 parent bd4bfca commit 3baf7b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/methods/initial_guess.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ function x0_volume(model, p, T, z = SA[1.0]; phase = :unknown)
end

function x0_volume_impl(model, p, T, z = SA[1.0], phase = :unknown)
phase = Symbol(phase)
if is_unknown(equilibrium) || is_liquid(phase)
if is_unknown(phase) || is_liquid(phase)
return x0_volume_liquid(model,p,T,z)
elseif is_vapour(phase)
return x0_volume_gas(model,p,T,z)
Expand Down

0 comments on commit 3baf7b6

Please sign in to comment.