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

InexactError for [0.0] #40

Closed
rikhuijzer opened this issue Apr 29, 2021 · 1 comment · Fixed by #41
Closed

InexactError for [0.0] #40

rikhuijzer opened this issue Apr 29, 2021 · 1 comment · Fixed by #41

Comments

@rikhuijzer
Copy link
Contributor

On Julia 1.5 and 1.6.1 with Showoff 1.0.2:

julia> using Showoff

julia> showoff([0.0], :auto)
ERROR: InexactError: check_top_bit(UInt64, -9223372036854775481)
[...]
@rikhuijzer
Copy link
Contributor Author

A little bit more information. This issue only occurs when a Vector contains only 0.0. So,

julia> showoff([0.0, 1.0])
2-element Vector{String}:
 "0"
 "1"

julia> showoff([0.0, 0.0, 0.0])
ERROR: InexactError: check_top_bit(UInt64, -9223372036854775481)
[...]

So, the error reported in this issue is not covered in the tests currently. A related recent discussion on Showoff is at https://discourse.julialang.org/t/plotting-broken-gadfly-and-plots-backends-not-showing-axis-ticks-cant-plot-dataframes/.

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 a pull request may close this issue.

1 participant