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

Adding a 0-by-0 MX / zerobyzero / empty #3642

Open
jgillis opened this issue Mar 27, 2024 · 2 comments
Open

Adding a 0-by-0 MX / zerobyzero / empty #3642

jgillis opened this issue Mar 27, 2024 · 2 comments

Comments

@jgillis
Copy link
Member

jgillis commented Mar 27, 2024

Wouldn't you expect 6?

x = MX()
print(x+6)
``
@jaeandersson
Copy link
Member

Why 6? I would expect 0-by-0, just like in MATLAB

@jaeandersson
Copy link
Member

octave:2> [] + 6
ans = [](0x0)

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