We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d01052f commit 7ea132dCopy full SHA for 7ea132d
src/tangent_types/abstract_zero.jl
@@ -81,7 +81,7 @@ function _promote_vectors(x::AbstractVector, y::AbstractVector)
81
if isconcretetype(T)
82
return convert(T, x), convert(T, y)
83
else
84
- short = map(first ∘ promote, x, y)
+ short = map(Base.splat(first ∘ promote), zip(x, y))
85
return convert(typeof(short), x), convert(typeof(short), y)
86
end
87
0 commit comments