Skip to content

Commit 555ebbe

Browse files
committed
fix typo
1 parent 3db51c6 commit 555ebbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/visualization.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function Base.show(io::IO, b::Bloch)
156156
# we use rpad `17` and `maxLen` for Bloch sphere data and properties, respectively
157157
# 17 is the length of string: `Number of vectors`
158158
# maxLen is the maximum length among all field names
159-
maxLen = maximum(length String, fieldnames(Settings))
159+
maxLen = maximum(length String, fieldnames(Bloch))
160160

161161
println(io, "Bloch Sphere\n")
162162
println(io, "data:")

0 commit comments

Comments
 (0)