Skip to content

Commit db3bc66

Browse files
committed
add // to fallback operate
1 parent 1c9f375 commit db3bc66

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/interface.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,7 @@ function operate(
172172
) where {N}
173173
return op(x, y, args...)
174174
end
175-
176-
operate(op::Union{typeof(-),typeof(/)}, x, y) where {N} = op(x, y)
177-
175+
operate(op::Union{typeof(-),typeof(/),typeof(//)}, x, y) = op(x, y)
178176
operate(::typeof(convert), ::Type{T}, x) where {T} = convert(T, x)
179177

180178
operate(::typeof(convert), ::Type{T}, x::T) where {T} = copy_if_mutable(x)

0 commit comments

Comments
 (0)