Skip to content

Commit 20c63c4

Browse files
committed
show function of Term so that Differential(t) is visible
1 parent f621220 commit 20c63c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/types.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,8 @@ function show_term(io::IO, t)
363363
end
364364
get(io, :paren, false) && Base.print(io, ")")
365365
else
366-
Base.print(io, "$fname(")
366+
Base.show(io, f)
367+
Base.print(io, "(")
367368
for i=1:length(args)
368369
Base.print(IOContext(io, :paren => false), args[i])
369370
i != length(args) && Base.print(io, ", ")

0 commit comments

Comments
 (0)