gr-doa icon indicating copy to clipboard operation
gr-doa copied to clipboard

Fix ValueError in oct2py calls

Open AsriFox opened this issue 1 year ago • 1 comments

When calling Octave functions through oct2py, by default only the first output value (ans) is returned. To return more than one value, the nout optional argument must be set, e.g. nout=3 for a 3-element tuple.

These changes should allow unit tests to pass.

AsriFox avatar Jul 16 '24 12:07 AsriFox

Fixes this for newer versions of oct2py

AsriFox avatar Jul 16 '24 12:07 AsriFox