Skip to content

Commit d61d911

Browse files
remove JET runtime dispatch error (#408)
1 parent 246e8f0 commit d61d911

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pool.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ it doesn't do this itself to avoid doing a dict lookup twice
6767

6868
i = R(n + 1)
6969
push!(pool.levels, x)
70-
if pool.hash !== nothing
71-
pool.hash = hash(x, pool.hash)
70+
pool_hash = pool.hash
71+
if pool_hash !== nothing
72+
pool.hash = hash(x, pool_hash)
7273
end
7374
pool.equalto = C_NULL
7475
pool.subsetof = C_NULL

0 commit comments

Comments
 (0)