Skip to content

Commit

Permalink
remove map call inside findall
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Dec 14, 2018
1 parent a5e9c32 commit f8cc413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ which all conditions are true.
"""
function Base.filter(fn, t::Dataset; select=valuenames(t))
x = rows(t, select)
indxs = findall(map(fn, x))
indxs = findall(fn, x)
subtable(t, indxs, presorted=true)
end

Expand Down

0 comments on commit f8cc413

Please sign in to comment.