We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3e76b1 + 398ee42 commit d981e09Copy full SHA for d981e09
src/differentials/thunks.jl
@@ -98,7 +98,7 @@ end
98
(x::Thunk)() = x.f()
99
@inline unthunk(x::Thunk) = x()
100
101
-Base.show(io::IO, x::Thunk) = println(io, "Thunk($(repr(x.f)))")
+Base.show(io::IO, x::Thunk) = print(io, "Thunk($(repr(x.f)))")
102
103
"""
104
InplaceableThunk(val::Thunk, add!::Function)
@@ -121,5 +121,5 @@ unthunk(x::InplaceableThunk) = unthunk(x.val)
121
(x::InplaceableThunk)() = unthunk(x)
122
123
function Base.show(io::IO, x::InplaceableThunk)
124
- println(io, "InplaceableThunk($(repr(x.val)), $(repr(x.add!)))")
+ print(io, "InplaceableThunk($(repr(x.val)), $(repr(x.add!)))")
125
end
0 commit comments