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

add nb input check on macros #352

Closed
Nelson-numerical-software opened this issue Dec 4, 2020 · 1 comment · Fixed by #426
Closed

add nb input check on macros #352

Nelson-numerical-software opened this issue Dec 4, 2020 · 1 comment · Fixed by #426
Milestone

Comments

@Nelson-numerical-software
Copy link
Collaborator

function M = magic(n)
M = 1
endfunction
magic(1,1)

it should return an error

@Nelson-numerical-software Nelson-numerical-software added this to the v0.5.1 milestone Dec 4, 2020
@Nelson-numerical-software
Copy link
Collaborator Author

workaround uses nargin

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

Successfully merging a pull request may close this issue.

1 participant