Skip to content

Commit

Permalink
nothing comparison update
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-asmar committed Dec 19, 2023
1 parent 4ac9cb9 commit f55cca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/POMDPTools/src/POMDPDistributions/sparse_cat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function Base.iterate(d::SparseCat, dstate::Tuple)
vstate, pstate = dstate
vnext = iterate(d.vals, vstate)
pnext = iterate(d.probs, pstate)
if vnext == nothing || pnext == nothing
if vnext === nothing || pnext === nothing
return nothing
end
val, vstate_next = vnext
Expand Down

0 comments on commit f55cca8

Please sign in to comment.