diff options
-rw-r--r-- | julia/CrystFEL/src/image.jl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/julia/CrystFEL/src/image.jl b/julia/CrystFEL/src/image.jl index 4090dc61..5ce056bd 100644 --- a/julia/CrystFEL/src/image.jl +++ b/julia/CrystFEL/src/image.jl @@ -55,7 +55,7 @@ mutable struct Image internalptr::Ptr{InternalImage} peaklist::Union{Nothing,PeakList} crystals - reflists + reflists::Vector{Union{Nothing,RefList}} end @@ -99,7 +99,7 @@ function makecrystallist(image, listptr, n) end image.crystals = map(x->x.crystal, crystals) - image.reflists = map(x->x.reflections, crystals) + image.reflists = Vector{Union{Nothing,RefList}}(map(x->x.reflections, crystals)) return crystals end |