Skip to content

Commit

Permalink
remove JET runtime dispatch error (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthijscox-asml authored Dec 27, 2024
1 parent 246e8f0 commit d61d911
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pool.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ it doesn't do this itself to avoid doing a dict lookup twice

i = R(n + 1)
push!(pool.levels, x)
if pool.hash !== nothing
pool.hash = hash(x, pool.hash)
pool_hash = pool.hash
if pool_hash !== nothing
pool.hash = hash(x, pool_hash)
end
pool.equalto = C_NULL
pool.subsetof = C_NULL
Expand Down

0 comments on commit d61d911

Please sign in to comment.