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
Deserialization of Pigeons.jl checkpoints with NFFT plans causes a segmentation fault upon visibility evaluations. This can be fixed by dispatching off the Serialization.deserialize function and reconstructing the FFT plan.
using Serialization
using Comrade
function Serialization.deserialize(s::AbstractSerializer, type::Type{<:Comrade.NUFTCache{<:Comrade.ObservedNUFT,P,M,PI,I}}) where {P,M,PI,I}
alg = Serialization.deserialize(s)
_ = Serialization.deserialize(s)
phase = Serialization.deserialize(s)
pulse = Serialization.deserialize(s)
img = Serialization.deserialize(s)
newplan = Comrade.plan_nuft(alg, img)
return Comrade.NUFTCache(alg, newplan, phase, pulse, img)
end
The text was updated successfully, but these errors were encountered:
Deserialization of
Pigeons.jl
checkpoints with NFFT plans causes a segmentation fault upon visibility evaluations. This can be fixed by dispatching off theSerialization.deserialize
function and reconstructing the FFT plan.The text was updated successfully, but these errors were encountered: