Skip to content

Commit 08ee566

Browse files
committed
Merge remote-tracking branch 'origin/hvncat-fixes' into hvncat-fixes
2 parents 287e227 + 9613cc7 commit 08ee566

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

base/abstractarray.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2396,8 +2396,6 @@ function _typed_hvncat(::Type{T}, shape::NTuple{N, Tuple}, row_first::Bool, as..
23962396

23972397
if d == 1 || i == 1 || wasstartblock
23982398
currentdims[d] += dsize
2399-
# elseif blockcounts[d - 1] == 0
2400-
# throw(1)
24012399
elseif dsize != cat_size(as[i - 1], ad)
24022400
throw(ArgumentError("""argument $i has a mismatched number of elements along axis $ad; \
24032401
expected $(cat_size(as[i - 1], ad)), got $dsize"""))

0 commit comments

Comments
 (0)