Skip to content

Commit c2111fb

Browse files
committed
fix another location
1 parent 55e49ae commit c2111fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/stridelayout.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ function dense_dims(@nospecialize T::Type{<:Base.ReshapedArray})
428428
d = dense_dims(parent_type(T))
429429
if d === nothing
430430
return nothing
431-
elseif all(d)
431+
elseif all(Bool, d)
432432
return ntuple(Compat.Returns(True()), StaticInt(ndims(T)))
433433
else
434434
return ntuple(Compat.Returns(False()), StaticInt(ndims(T)))

0 commit comments

Comments
 (0)