Skip to content

Commit 6b1e01d

Browse files
committed
update signature
1 parent 5a3b6a8 commit 6b1e01d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/parameters.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ macro parameters(xs...)
3030
Symbolics._parse_vars(:parameters,
3131
Real,
3232
xs,
33-
x -> x isa AbstractArray ? Symbolics.getindex_posthook(x, (a, b...)->toparam(a)) : toparam(x)
33+
x -> x isa AbstractArray ?
34+
Symbolics.getindex_posthook((a, b...)->toparam(a), x) : toparam(x)
3435
) |> esc
3536
end

0 commit comments

Comments
 (0)