Skip to content

Commit b0a75c7

Browse files
axes
1 parent 470b533 commit b0a75c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RobustPmap.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import FileIO
3838

3939
"Check for type exceptions"
4040
function checkexceptions(x::Any, t::Type=Any)
41-
for i = 1:length(x)
41+
for i in eachindex(x)
4242
if isa(x[i], Exception)
4343
throw(x[i])
4444
elseif !isa(x[i], t) # typeof(x[i]) != t

0 commit comments

Comments
 (0)