You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Incorrect inputs to the hypergeometric function 2F1 yielded this:
julia> using GSL
julia> a, b = [1.0, 2.0], 3.0
julia> GSL.hypergeom(a, b, 1.0)
ERROR: UndefVarError: bytestring not defined
Stacktrace:
[1] custom_error_handler(::Ptr{UInt8}, ::Ptr{UInt8}, ::Int32, ::Int32) at /Users/james/.julia/v0.6/GSL/src/ConvertGSL.jl:18
[2] hypergeom(::Array{Float64,1}, ::Float64, ::Float64) at /Users/james/.julia/v0.6/GSL/src/7_21_HypergeometricFunctions.jl:21
but after
cd /Users/james/.julia/v0.6/GSL/src/
for i in *; do sed -i 's/bytestring/string/g' "$i"; done
I get a DomainError
julia> GSL.hypergeom(a, b, 1.0)
ERROR: GSL Error: Ptr{Int8} @0x00000001233f4e28 -- Ptr{UInt8} @0x00000001233fd388 at Ptr{UInt8} @0x00000001233fe8cf:685
ERROR: DomainError:
Stacktrace:
[1] custom_error_handler(::String, ::String, ::Int32, ::Int32) at /Users/james/.julia/v0.6/GSL/src/ConvertGSL.jl:35
[2] custom_error_handler(::Ptr{UInt8}, ::Ptr{UInt8}, ::Int32, ::Int32) at /Users/james/.julia/v0.6/GSL/src/ConvertGSL.jl:18
[3] hypergeom(::Array{Float64,1}, ::Float64, ::Float64) at /Users/james/.julia/v0.6/GSL/src/7_21_HypergeometricFunctions.jl:21
The text was updated successfully, but these errors were encountered:
First of all, thanks for GSL.jl! It's great!
Minor problem:
Incorrect inputs to the hypergeometric function 2F1 yielded this:
but after
I get a
DomainError
The text was updated successfully, but these errors were encountered: