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.
1 parent a365fe3 commit 474fbf2Copy full SHA for 474fbf2
test/rulesets/Base/broadcast.jl
@@ -1,7 +1,10 @@
1
using Base.Broadcast: broadcasted
2
3
+if VERSION < v"1.7"
4
+ Base.ndims(::Type{<:AbstractArray{<:Any,N}}) where {N} = N
5
+end
6
BS0 = Broadcast.BroadcastStyle(Float64)
-BS1 = Broadcast.BroadcastStyle(Vector)
7
+BS1 = Broadcast.BroadcastStyle(Vector) # without ndims method, error on 1.6
8
BS2 = Broadcast.BroadcastStyle(Matrix)
9
10
BT1 = Broadcast.BroadcastStyle(Tuple)
0 commit comments