Skip to content

Commit ac06d0f

Browse files
committed
Simplify reference impl.
1 parent 8cf89bd commit ac06d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reference.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ struct JLArrayStyle{N} <: AbstractGPUArrayStyle{N} end
262262
JLArrayStyle(::Val{N}) where N = JLArrayStyle{N}()
263263
JLArrayStyle{M}(::Val{N}) where {N,M} = JLArrayStyle{N}()
264264

265-
BroadcastStyle(::Type{<:AnyJLArray{T,N}}) where {T,N} = JLArrayStyle{N}()
265+
BroadcastStyle(::Type{JLArray{T,N}}) where {T,N} = JLArrayStyle{N}()
266266

267267
# Allocating the output container
268268
Base.similar(bc::Broadcasted{JLArrayStyle{N}}, ::Type{T}) where {N,T} =

0 commit comments

Comments
 (0)