From b6f7c0d3738e4d0bcbdb74d48ee5cc787bf4d39c Mon Sep 17 00:00:00 2001 From: Julian P Samaroo <jpsamaroo@jpsamaroo.me> Date: Thu, 30 Nov 2023 11:58:05 -0500 Subject: [PATCH] reschedule_inputs: Don't hash non-Thunk inputs --- src/sch/util.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sch/util.jl b/src/sch/util.jl index c8fba7a61..c9b72f2c9 100644 --- a/src/sch/util.jl +++ b/src/sch/util.jl @@ -144,7 +144,7 @@ function reschedule_syncdeps!(state, thunk, seen=Set{Thunk}()) w = get!(()->Set{Thunk}(), state.waiting, thunk) for input in thunk.syncdeps input = unwrap_weak_checked(input) - input in seen && continue + istask(input) && input in seen && continue # Unseen push!(get!(()->Set{Thunk}(), state.waiting_data, input), thunk)