Skip to content

Commit 236eb50

Browse files
authored
No wrapping Vararg in UnionAll (#1285)
1 parent f245839 commit 236eb50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FEValues/CellValues.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ end
284284

285285
# Need to manually unroll applying to each `fun_values` for maximum performance, equivalent code:
286286
# `foreach(fv -> apply_mapping!(fv, q_point, mapping, cell), fun_values))`
287-
@generated function apply_mapping!(fun_values::Tuple{Vararg{<:FunctionValues, N}}, q_point, mapping, cell) where {N}
287+
@generated function apply_mapping!(fun_values::Tuple{Vararg{FunctionValues, N}}, q_point, mapping, cell) where {N}
288288
expr = Expr(:block)
289289
for i in 1:N
290290
push!(expr.args, :(apply_mapping!(fun_values[$i], q_point, mapping, cell)))

0 commit comments

Comments
 (0)