Skip to content

Commit

Permalink
Merge branch 'SWARM-338'
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgenyGri committed Jan 16, 2024
2 parents 0d1d30c + 82ded52 commit 3270b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dict/rb-dict.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (dict *RBDict[Tk, Tv]) Eq(other Dict[Tk, Tv], valuesEq func(vL, vR Tv) bool
dict.Iterate(func(k Tk, v Tv) bool {
v1, ok := other.Get(k)
eq := ok && valuesEq(v, v1)
n += tern(eq, 0, 1)
n += tern(eq, 1, 0)
return eq
})
return n == dict.Len()
Expand Down

0 comments on commit 3270b34

Please sign in to comment.