Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix display array containing e or f #1207

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

bowenszhu
Copy link
Member

With this PR, arrays that includes e or f are displayed correctly.

julia> using Symbolics

julia> r = @variables a b c d e f g h i j
10-element Vector{Num}:
 a
 b
 c
 d
 e
 f
 g
 h
 i
 j

julia> m = [a b c d
            b e f g
            c f h i
            d g i j]
4×4 Matrix{Num}:
 a  b  c  d
 b  e  f  g
 c  f  h  i
 d  g  i  j

julia> m *= [1, 2, 3, 4]
4-element Vector{Num}:
 a + 2b + 3c + 4d
 b + 2e + 3f + 4g
 c + 2f + 3h + 4i
 d + 2g + 3i + 4j

@bowenszhu bowenszhu linked an issue Aug 6, 2024 that may be closed by this pull request
@bowenszhu bowenszhu force-pushed the 1206-fix-display-e-and-f-extra-space branch from 85dc706 to f2babec Compare August 6, 2024 21:29
Copy link
Member

@ChrisRackauckas ChrisRackauckas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird issue 😅

@ChrisRackauckas ChrisRackauckas merged commit d4ef9a8 into master Aug 6, 2024
9 of 12 checks passed
@ChrisRackauckas ChrisRackauckas deleted the 1206-fix-display-e-and-f-extra-space branch August 6, 2024 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

show for certain symbols (e and f) has extra space
2 participants