Skip to content

Commit fa01a0a

Browse files
authored
Fix tape printing
1 parent c982cde commit fa01a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tape.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function Base.show(io::IO, instruction::AbstractInstruction, pad = "")
110110
end
111111

112112
function Base.show(io::IO, tp::InstructionTape)
113-
println("$(length(tp))-element InstructionTape:")
113+
println(io, "$(length(tp))-element InstructionTape:")
114114
i = 1
115115
for instruction in tp
116116
print(io, "$i => ")

0 commit comments

Comments
 (0)