Remove iterator in loop

@fengyang.wang Didn’t you actually note this yourself over here? :smiley:

https://github.com/JuliaLang/julia/issues/16742

1 Like

filters doc is here http://docs.julialang.org/en/latest/stdlib/collections.html#Base.filter

The method that returns an interator is not defined there. This is the method that returns a collection.

1 Like

Indeed, as @mkborregaard noted, the functions Base.filter and Base.Iterators.filter are distinct on 0.6 and up.

1 Like