Skip to content

Commit 1de445b

Browse files
committed
again
1 parent e154125 commit 1de445b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

base/promotion.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,8 @@ function _promote_type_binary(::Type{T}, ::Type{S}, recursion_depth_limit::Tuple
326326
end
327327

328328
const _promote_type_binary_recursion_depth_limit = let n = nothing # recursion depth limit to prevent stack overflow
329-
n2 = (n, n)
330-
n4 = (n2..., n2...)
331-
(n4..., n4..., n4..., n2...)
329+
n4 = (n, n, n, n)
330+
(n4..., n4..., n4...)
332331
end
333332

334333
function promote_type(::Type{T}, ::Type{S}) where {T,S}

0 commit comments

Comments
 (0)