Skip to content

Commit 0e15bc1

Browse files
authored
remove default zero(UInt) from hash seed
1 parent d4b12df commit 0e15bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ Compute a hash of a tree. This will compute a hash differently
465465
if nodes are shared in a tree. This is ignored if `break_sharing` is set to `Val(true)`.
466466
"""
467467
function hash(
468-
tree::AbstractExpressionNode{T}, h::UInt=zero(UInt); break_sharing::Val{BS}=Val(false)
468+
tree::AbstractExpressionNode{T}, h::UInt; break_sharing::Val{BS}=Val(false)
469469
) where {T,BS}
470470
return tree_mapreduce(
471471
t -> leaf_hash(h, t),

0 commit comments

Comments
 (0)