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

Null matrix can always be stacked #1929

Open
tjstienstra opened this issue Sep 8, 2022 · 1 comment
Open

Null matrix can always be stacked #1929

tjstienstra opened this issue Sep 8, 2022 · 1 comment

Comments

@tjstienstra
Copy link

While developing in sympy I stumbled upon the difference that within sympy a null matrix can be stacked. The issue within sympy about this problem was #10770.

@tjstienstra
Copy link
Author

tjstienstra commented Sep 8, 2022

Not sure, but I also ran into the problem that when using the symengine in python Matrix(0, 1, []).shape == (0, 0), instead of the expected (0, 1).
Currently:

Matrix(1, 0).shape == (1, 0)
Matrix(1, 0, []).shape == (1, 0)
Matrix(0, 1).shape == (0, 1)
Matrix(0, 1, []).shape == (0, 0)

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