Skip to content

Commit

Permalink
fix io syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger-luo committed Jun 6, 2018
1 parent 5a2559a commit 9efa783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Blocks/IOSyntax.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function print_tree(
isa(io, IOContext) && (nodebuf = IOContext(nodebuf, io))

# print circuit summary
if (tree == roottree) && title
if (tree === roottree) && title
println(io, "Total: ", nqubits(tree), ", DataType: ", datatype(tree))
end

Expand Down

0 comments on commit 9efa783

Please sign in to comment.