Skip to content

Commit

Permalink
Merge c6899db into 1df635c
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsamaroo committed Feb 4, 2020
2 parents 1df635c + c6899db commit dcb54f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compute.jl
Expand Up @@ -75,7 +75,7 @@ function dependents(node::Thunk, deps=Dict{Thunk, Set{Thunk}}())
end
for inp = inputs(node)
if isa(inp, Thunk)
s::Set{Thunk} = Base.@get!(deps, inp, Set{Thunk}())
s::Set{Thunk} = get!(()->Set{Thunk}(), deps, inp)
push!(s, node)
dependents(inp, deps)
end
Expand Down

0 comments on commit dcb54f2

Please sign in to comment.