Skip to content

Commit

Permalink
julia 1.0 backwards compatible nothing comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
matthijscox-asml committed Dec 12, 2024
1 parent a48e83c commit 4ab77f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pool.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ it doesn't do this itself to avoid doing a dict lookup twice
i = R(n + 1)
push!(pool.levels, x)
pool_hash = pool.hash
if !isnothing(pool_hash)
if pool_hash !== nothing
pool.hash = hash(x, pool_hash)
end
pool.equalto = C_NULL
Expand Down

0 comments on commit 4ab77f4

Please sign in to comment.