We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55e49ae commit c2111fbCopy full SHA for c2111fb
1 file changed
src/stridelayout.jl
@@ -428,7 +428,7 @@ function dense_dims(@nospecialize T::Type{<:Base.ReshapedArray})
428
d = dense_dims(parent_type(T))
429
if d === nothing
430
return nothing
431
- elseif all(d)
+ elseif all(Bool, d)
432
return ntuple(Compat.Returns(True()), StaticInt(ndims(T)))
433
else
434
return ntuple(Compat.Returns(False()), StaticInt(ndims(T)))
0 commit comments