Skip to content

Commit e98d1d0

Browse files
committed
Remove obsolete functions
1 parent f64ad4a commit e98d1d0

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

src/std.jl

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -515,30 +515,6 @@ function to_ir(arg::Power)
515515
return ir.Power(to_ir(arg.base), arg.exponent)
516516
end
517517

518-
function parenthesize_std(arg)
519-
return _to_std_string(arg)
520-
end
521-
522-
function parenthesize_std(arg::Real)
523-
if arg < 0
524-
return "(" * _to_std_string(arg) * ")"
525-
end
526-
527-
return _to_std_string(arg)
528-
end
529-
530-
function parenthesize_std(arg::BinaryOperation{Op}) where {Op<:AdditiveOperation}
531-
return "(" * _to_std_string(arg) * ")"
532-
end
533-
534-
function parenthesize_std(arg::BinaryOperation{Mult})
535-
if is_elementwise_multiplication(arg.arg1, arg.arg2)
536-
return "(" * _to_std_string(arg) * ")"
537-
end
538-
539-
return _to_std_string(arg)
540-
end
541-
542518
function is_trace(arg)
543519
terms = collect_factors(arg)
544520

0 commit comments

Comments
 (0)