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

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

[Octave-bug-tracker] [bug #58509] pararrayfun has a problem with functio


From: richard
Subject: [Octave-bug-tracker] [bug #58509] pararrayfun has a problem with functions
Date: Sat, 6 Jun 2020 10:09:09 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

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

                 Summary: pararrayfun has a problem with functions
                 Project: GNU Octave
            Submitted by: r1chard
            Submitted on: Sat 06 Jun 2020 02:09:07 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I'll attach a file, one of a series, and last run perhaps six months ago. 

The calculation thas three options. The one I usually run uses pararrayfun,
and a fallback is a manual choice to use arrayfun. 

The option using arrayfun still works, and the commands are quite similar.
When I use pararrayfun I get this message:

error: 'main_loop' undefined near line 1 column 6
error: 'main_loop' undefined near line 1 column 6
error: 'main_loop' undefined near line 1 column 6
error: 'main_loop' undefined near line 1 column 6
error: 'postprocess' undefined near line 1 column 15
error: 'postprocess' undefined near line 1 column 15
error: 'postprocess' undefined near line 1 column 15
error: 'postprocess' undefined near line 1 column 15
error: XX(_,10): but XX has size 1x1
error: called from
    newyork235>@<anonymous> at line 322 column 20
    newyork235 at line 322 column 3


Both 'main_loop' and 'postprocess' are functions. 

I had a look to see if something obvious has changed in the latest version of
Octave, but no luck. 

The arrayfun calculation still works hence I think this is a bug. 




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 06 Jun 2020 02:09:07 PM UTC  Name: newyork235.m  Size: 18KiB   By:
r1chard

<http://savannah.gnu.org/bugs/download.php?file_id=49220>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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