Skip to content

Commit bea3259

Browse files
Remove redundant convert to expr function
1 parent 1f13c32 commit bea3259

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/operations.jl

-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ Base.isequal(::Variable , ::Operation) = false
5454
Base.isequal(::Operation, ::Constant ) = false
5555
Base.isequal(::Constant , ::Operation) = false
5656

57-
Base.convert(::Type{Expr}, O::Operation) =
58-
build_expr(:call, Any[Symbol(O.op); convert.(Expr, O.args)])
5957
Base.show(io::IO, O::Operation) = print(io, convert(Expr, O))
6058

6159
# For inv

0 commit comments

Comments
 (0)