Skip to content

Commit 4044c60

Browse files
committed
add // to fallback operate
1 parent c9e5c4b commit 4044c60

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/interface.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@ function operate(
160160
) where {N}
161161
return op(x, y, args...)
162162
end
163-
operate(op::Union{typeof(-),typeof(/)}, x, y) where {N} = op(x, y)
163+
function operate(op::Union{typeof(-),typeof(/),typeof(//)}, x, y)
164+
return op(x, y)
165+
end
164166
operate(::typeof(convert), ::Type{T}, x) where {T} = convert(T, x)
165167
operate(::typeof(convert), ::Type{T}, x::T) where {T} = copy_if_mutable(x)
166168

0 commit comments

Comments
 (0)