We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e89ed4 commit 0e0780dCopy full SHA for 0e0780d
src/graph.jl
@@ -110,7 +110,7 @@ end
110
@inline Base.getindex(n::ParSource, i) = ParIndexed(n, i)
111
@inline Base.getindex(n::VarSource, i) = Var(i)
112
113
-Par(iter::DataType) = ParSource()
+Par(iter::Type) = ParSource()
114
Par(iter, idx...) = ParIndexed(Par(iter, idx[2:end]...), idx[1])
115
Par(iter::Type{T}, idx...) where {T<:Tuple} =
116
Tuple(Par(p, i, idx...) for (i, p) in enumerate(T.parameters))
0 commit comments