-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
Improve printing of complex numbers #3332
Conversation
0921e97
to
f700351
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #3332 +/- ##
==========================================
+ Coverage 98.05% 98.06% +0.01%
==========================================
Files 34 34
Lines 4876 4911 +35
==========================================
+ Hits 4781 4816 +35
Misses 95 95
☔ View full report in Codecov by Sentry. |
If we only have |
I think it's nice to have at least optional rounding. Now we can discuss whether we want it by default and I think would be in favor |
I'll fix the conflict, since it's my fault for #3341. |
I tried to make it consistent with both how
Base
prints complex numbers (im
is just on the right of the imaginary part without any*
in between) and how JuMP prints real coefficients.