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

Line plot example throws runtime error #675

Closed
dominikh opened this issue Dec 31, 2024 · 2 comments
Closed

Line plot example throws runtime error #675

dominikh opened this issue Dec 31, 2024 · 2 comments

Comments

@dominikh
Copy link

On master:

cargo run -- examples/interactive/line_plot.nbt 
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s
     Running `target/debug/numbat examples/interactive/line_plot.nbt`
error: runtime error
 = User error: Invalid argument: cannot call `unit_of` on a value that evaluates to 0

Interpreter stopped

On 1.14.0:

error: runtime error
 = User error: …

Interpreter stopped
@sharkdp
Copy link
Owner

sharkdp commented Jan 1, 2025

Thanks for reporting this. It looks like a duplicate of #621. The underlying issue is #521.

@sharkdp sharkdp closed this as completed Jan 1, 2025
@sharkdp
Copy link
Owner

sharkdp commented Jan 1, 2025

Should now be fixed via e8bac1f, and released in v1.15

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

No branches or pull requests

2 participants