Skip to content

Commit 0e2a990

Browse files
committed
Formatting
1 parent 6ba0a9f commit 0e2a990

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/base.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,9 @@ end
407407
Compute a hash of a tree. This will compute a hash differently
408408
if nodes are shared in a tree. This is ignored if `break_sharing` is set to `Val(true)`.
409409
"""
410-
function hash(tree::AbstractExpressionNode{T}, h::UInt=zero(UInt); break_sharing::Val=Val(false)) where {T}
410+
function hash(
411+
tree::AbstractExpressionNode{T}, h::UInt=zero(UInt); break_sharing::Val=Val(false)
412+
) where {T}
411413
return tree_mapreduce(
412414
t -> t.constant ? hash((0, t.val::T), h) : hash((1, t.feature), h),
413415
t -> hash((t.degree + 1, t.op), h),

0 commit comments

Comments
 (0)