Skip to content

Commit

Permalink
Remove some TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
barche committed Dec 7, 2023
1 parent 3297e33 commit 78f4453
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/CoolProp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,6 @@ function AbstractState_update(handle::Clong, input_pair::AbstractString, value1:
return nothing
end

#TODO: these functions will not work with CoolProp_jll 6.5. Needs new version released of current master from Sept 2023
"""
AbstractState_get_fugacity(handle::Clong, i::Integer)
Expand Down Expand Up @@ -976,7 +975,7 @@ julia> AbstractState_get_fugacity_coefficient(handle, 0)
julia> AbstractState_free(handle);
```
"""
function AbstractState_get_fugacity_coefficient(handle::Clong, i::Integer) #TODO: maybe type this as an integer?
function AbstractState_get_fugacity_coefficient(handle::Clong, i::Integer)
buffer_length = length(message_buffer)
output = ccall( (:AbstractState_get_fugacity_coefficient, libcoolprop), Cdouble, (Clong, Clong, Ref{Clong}, Ptr{UInt8}, Clong), handle, i, errcode, message_buffer::Array{UInt8, 1}, buffer_length)
raise(errcode, message_buffer)
Expand Down

0 comments on commit 78f4453

Please sign in to comment.