diff options
Diffstat (limited to 'julia')
-rw-r--r-- | julia/CrystFEL/src/reflists.jl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/julia/CrystFEL/src/reflists.jl b/julia/CrystFEL/src/reflists.jl index 901162e8..d922bdae 100644 --- a/julia/CrystFEL/src/reflists.jl +++ b/julia/CrystFEL/src/reflists.jl @@ -55,7 +55,7 @@ function Base.iterate(reflist::RefList{T}) where T reflist.internalptr, rli) if refl == C_NULL - throw(ArgumentError("Failed to find first reflection in list")) + return nothing # no reflections! end iter = RefListIterator(refl,rli[]) |