Skip to content

Commit f1ec34f

Browse files
author
Olivier Thill
committed
prefix the function with @op
1 parent e194348 commit f1ec34f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ops/math.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function Base.round(::Type{T}, value::AbstractTensor) where T
167167
end
168168

169169

170-
function -(n::AbstractTensor; kwargs...)
170+
@op function -(n::AbstractTensor; kwargs...)
171171
negative(n; kwargs...)
172172
end
173173

0 commit comments

Comments
 (0)