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

sparkline crashes with empty vector #23

Closed
Dovyski opened this issue Aug 2, 2017 · 0 comments
Closed

sparkline crashes with empty vector #23

Dovyski opened this issue Aug 2, 2017 · 0 comments

Comments

@Dovyski
Copy link
Owner

Dovyski commented Aug 2, 2017

The function sparkline() should render a warning message or die with an assert() when no data is provided. At the moment, the app using cvui will crash with no explanation. Not good.

Dovyski added a commit that referenced this issue Nov 10, 2017
Any vector passed to sparkline() needs 2 or more data points now.
Fixes: #23
@Dovyski Dovyski closed this as completed Nov 10, 2017
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

1 participant