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

Documentation error in Julia v1.10: Rational displayed as Int #272

Closed
schillic opened this issue Jan 3, 2024 · 0 comments · Fixed by #273
Closed

Documentation error in Julia v1.10: Rational displayed as Int #272

schillic opened this issue Jan 3, 2024 · 0 comments · Fixed by #273
Assignees
Labels

Comments

@schillic
Copy link
Member

schillic commented Jan 3, 2024

Julia v1.10 changed the way the Rational 1//1 is displayed in arrays.

┌ Error: doctest failure in src/inputs.jl:153-163
│ Evaluated output:
│ 
│ 2-element Vector{Rational{Int64}}:-11
│ 
│ Expected output:
│ 
│ 2-element Vector{Rational{Int64}}:-1//11//1

In Julia v1.9.4 this still works.

@schillic schillic added the fix label Jan 3, 2024
@schillic schillic changed the title Documentation error in Julia v1.10: Rational parsed as Int Documentation error in Julia v1.10: Rational displayed as Int Jan 3, 2024
@schillic schillic self-assigned this Jan 3, 2024
schillic added a commit that referenced this issue Jan 3, 2024
#272 - Change doctests for 1.10-compatible Rational display
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant