Skip to content

Commit 8af7058

Browse files
N5N3thchr
andcommitted
add return
Co-Authored-By: Thomas Christensen <tchr@mit.edu>
1 parent b72a89c commit 8af7058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/broadcast.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ end
5050
else
5151
throw(DimensionMismatch("array could not be broadcast to match destination"))
5252
end
53-
(ax1, static_check_broadcast_shape(Base.tail(shp), Base.tail(Ashp))...)
53+
return (ax1, static_check_broadcast_shape(Base.tail(shp), Base.tail(Ashp))...)
5454
end
5555
static_check_broadcast_shape(::Tuple{}, ::Tuple{SOneTo,Vararg{SOneTo}}) =
5656
throw(DimensionMismatch("cannot broadcast array to have fewer non-singleton dimensions"))

0 commit comments

Comments
 (0)