diff --git a/src/Blocks/IOSyntax.jl b/src/Blocks/IOSyntax.jl index 84de0bbb3..cd1e1ffc4 100644 --- a/src/Blocks/IOSyntax.jl +++ b/src/Blocks/IOSyntax.jl @@ -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