Skip to content

Commit

Permalink
Fixes #105
Browse files Browse the repository at this point in the history
  • Loading branch information
Karandeep Singh committed Jul 15, 2023
1 parent b0dc05c commit 94b43d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ function parse_autovec(tidy_expr::Union{Expr,Symbol})
elseif @capture(x, fn_(args__))
# This is the do-not-vectorize "list"
# `in` should be vectorized so do not add to this exclusion list
if fn in [:Ref :Set :Cols :(:) : :lag :lead :ntile :repeat :across :desc :mean :std :var :median :first :last :minimum :maximum :sum :length :skipmissing :quantile :passmissing]
if fn in [:Ref :Set :Cols :(:) : :lag :lead :ntile :repeat :across :desc :mean :std :var :median :first :last :minimum :maximum :sum :length :skipmissing :quantile :passmissing :cumsum :cumprod :accumulate]
return x
elseif contains(string(fn), r"[^\W0-9]\w*$") # valid variable name
return :($fn.($(args...)))
Expand Down

0 comments on commit 94b43d6

Please sign in to comment.