Skip to content

Commit 1538cc5

Browse files
committed
don't do clever printing when LiteralReal
1 parent cda830f commit 1538cc5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/types.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,8 +811,9 @@ function show_term(io::IO, t)
811811

812812
f = operation(t)
813813
args = arguments(t)
814-
815-
if f === (+)
814+
if symtype(t) <: LiteralReal
815+
show_call(io, f, args)
816+
elseif f === (+)
816817
show_add(io, args)
817818
elseif f === (*)
818819
show_mul(io, args)

0 commit comments

Comments
 (0)