Skip to content

Commit 4b89c99

Browse files
committed
Ensure pload maps ghosts
1 parent 52f47c2 commit 4b89c99

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Io.jl

+3-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ function pload(dir::AbstractString, ranks::AbstractArray{<:Integer})
6262
filename = joinpath(dir,basename(dir)*"_$id.jdl2")
6363
load_object(filename)
6464
end
65-
return from_local_storage(arr)
65+
y = from_local_storage(arr)
66+
consistent!(y) |> fetch
67+
return y
6668
end
6769

6870
"""

0 commit comments

Comments
 (0)