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.
return
1 parent b72a89c commit 8af7058Copy full SHA for 8af7058
src/broadcast.jl
@@ -50,7 +50,7 @@ end
50
else
51
throw(DimensionMismatch("array could not be broadcast to match destination"))
52
end
53
- (ax1, static_check_broadcast_shape(Base.tail(shp), Base.tail(Ashp))...)
+ return (ax1, static_check_broadcast_shape(Base.tail(shp), Base.tail(Ashp))...)
54
55
static_check_broadcast_shape(::Tuple{}, ::Tuple{SOneTo,Vararg{SOneTo}}) =
56
throw(DimensionMismatch("cannot broadcast array to have fewer non-singleton dimensions"))
0 commit comments