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 07c7be4 commit e2c8b13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ 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
print(io, c, '\u0305') # displays as overbar (̄z)
for c in String(base)
print(io, c, '\u0305')
end
else
print(io, base)
Expand Down

0 comments on commit e2c8b13

Please sign in to comment.