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
julia> Base.unsafe_convert(Ptr{Float64}, OffsetArray(zeros(2)))
ERROR: conversion to pointer not defined for Vector{Float64}
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] unsafe_convert(::Type{Ptr{Float64}}, a::Vector{Float64})
@ Base ./pointer.jl:67
[3] unsafe_convert(::Type{Ptr{Float64}}, A::OffsetVector{Float64, Vector{Float64}})
@ OffsetArrays ~/Dropbox/JuliaPackages/OffsetArrays.jl/src/OffsetArrays.jl:464
[4] top-level scope
@ REPL[3]:1
This is related to JuliaLang/julia#51962. I wonder if @chriselrod might have time to submit a fix? I'm unsure what the recommended method is in this case.
The text was updated successfully, but these errors were encountered:
This is related to JuliaLang/julia#51962. I wonder if @chriselrod might have time to submit a fix? I'm unsure what the recommended method is in this case.
The text was updated successfully, but these errors were encountered: