octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58329] [octave forge] (parallel) parcellfun f


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #58329] [octave forge] (parallel) parcellfun function fails with nargout less than expected
Date: Thu, 7 May 2020 16:20:28 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36

Update of bug #58329 (project octave):

                Severity:              3 - Normal => 1 - Wish               
                Priority:              5 - Normal => 3 - Low                
              Item Group:        Incorrect Result => Feature Request        
                  Status:                    None => Confirmed              
        Operating System:       Microsoft Windows => Any                    
                 Summary: parallel package, parcellfun function fails =>
[octave forge] (parallel) parcellfun function fails with nargout less than
expected

    _______________________________________________________

Follow-up Comment #1:

So to clarify, this bug report is about calling parcellfun with fewer output
variables than the function normally returns, is that right?

As a workaround, you can easily silence the remaining return values with the
'~' placeholder, for example


[A, B, ~, ~] = parcellfun (nproc, fn, ...)


But it is true that most Octave functions will silently ignore additional
return values when the caller doesn't use them, and it would probably be nice
for parcellfun / pararrayfun to behave the same way.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58329>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]