Skip to content

Commit

Permalink
Fix showing conjugate variables
Browse files Browse the repository at this point in the history
  • Loading branch information
projekter committed Dec 15, 2023
1 parent 79c141e commit 3d91792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Base.show(io::IO, p::TypesWithShow) = show(io, MIME"text/plain"(), p)
function _show(io::IO, mime::MIME, var::AbstractVariable)
base, indices = name_base_indices(var)
if isconj(var)
for c in base
for c in String(base)
print(io, c, '\u0305') # displays as overbar (̄z)
end
else
Expand Down

0 comments on commit 3d91792

Please sign in to comment.