Skip to content

Commit

Permalink
Make integer output exact string
Browse files Browse the repository at this point in the history
  • Loading branch information
lyxal committed Dec 29, 2023
1 parent 93628ad commit 4e507a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyxal/elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -7533,7 +7533,7 @@ def vy_print(lhs, end="\n", ctx=None):
+ str(lhs.as_real_imag()[1])
)
else:
lhs = sympy.Rational(str(lhs.round(20)))
lhs = str(lhs)
if ctx.online:
ctx.online_output[1] += vy_str(lhs, ctx=ctx) + end
else:
Expand Down

0 comments on commit 4e507a2

Please sign in to comment.