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

Better error message than Dimension mismatch #244

Open
mzgubic opened this issue Feb 21, 2022 · 0 comments
Open

Better error message than Dimension mismatch #244

mzgubic opened this issue Feb 21, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@mzgubic
Copy link
Member

mzgubic commented Feb 21, 2022

The error message when to_vec of y and y\bar are not the same length is quite cryptic

DimensionMismatch("second dimension of A, 4, does not match length of x, 7")

we could catch it and give a better error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants