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

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

[Octave-bug-tracker] [bug #58329] parallel package, parcellfun function


From: anonymous
Subject: [Octave-bug-tracker] [bug #58329] parallel package, parcellfun function fails
Date: Thu, 7 May 2020 16:01:21 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36

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

                 Summary: parallel package, parcellfun function fails
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 07 May 2020 08:01:19 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Gord Gray
        Originator Email: address@hidden
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

I'm a newbie to Octave, so be nice if I get this wrong.

If I have fun = @(c) FunctionThatReturns3Fields

[Result1, Result2] = cellfun(fun, ACell, "UniformOutput", false)

works fine, but:

[Rslt1, Rslt2] = parcellfun(fun, ACell, "UniformOutput", false)

fails.

If I change parcellfun, line 209 to read:
      results(idx, :) = res(1,nargout);
then it works.  I'm sure there is a better way to accomplish this and possibly
this is wrong.  But it looks like it fixes a problem.  I think the same fix
might apply to line 203, but I barely know how I found this, let alone being
able to test that.




    _______________________________________________________

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]