Skip to content

Commit

Permalink
Merge pull request #65 from zjwegert/bug-fix-pload
Browse files Browse the repository at this point in the history
Ensure pload maps ghosts
  • Loading branch information
zjwegert authored May 28, 2024
2 parents 52f47c2 + 4b89c99 commit 57a3ce1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ function pload(dir::AbstractString, ranks::AbstractArray{<:Integer})
filename = joinpath(dir,basename(dir)*"_$id.jdl2")
load_object(filename)
end
return from_local_storage(arr)
y = from_local_storage(arr)
consistent!(y) |> fetch
return y
end

"""
Expand Down

0 comments on commit 57a3ce1

Please sign in to comment.