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

Consider adding "nout" as in Oc2Py #2

Open
PallHaraldsson opened this issue Aug 11, 2020 · 0 comments
Open

Consider adding "nout" as in Oc2Py #2

PallHaraldsson opened this issue Aug 11, 2020 · 0 comments

Comments

@PallHaraldsson
Copy link

PallHaraldsson commented Aug 11, 2020

and if, then latest addition here, from 6 days ago:
blink1073/oct2py@8970a66

I'm not sure this applies to Julia, as prety standard to return many there (and I thought in Python?), and in MATLAB:

https://stackoverflow.com/questions/43394393/oct2py-only-returning-the-first-output-argument

Removed inferred nout for Octave function calls; it must be explicitly given if not 1. The old behavior was too surprising and relied on internal logic of the CPython interpreter.

I'm just filing so I do not forget, maybe this is not needed, but if a good idea, then also at MATLAB.jl?

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