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

PDF constructor is not protected against incorrect input #204

Open
johannct opened this issue Sep 10, 2024 · 1 comment
Open

PDF constructor is not protected against incorrect input #204

johannct opened this issue Sep 10, 2024 · 1 comment
Assignees

Comments

@johannct
Copy link
Member

PDF::PDF(const double min, const double max, const size_t size) {

  • nothing prevents argument size to be 0
  • nothing prevents min>max in which case the xaxis is decreasing.

Note also that scaleLinear can be removed, as there is no use of it anymore.

@johannct
Copy link
Member Author

@oilbert I do not think that there is any use for a decreasing xaxis

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