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

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

[Octave-bug-tracker] [bug #51375] publish fails when script defines anon


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #51375] publish fails when script defines anonymous nested functions
Date: Mon, 3 Jul 2017 19:31:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Update of bug #51375 (project octave):

                Severity:              3 - Normal => 4 - Important          
              Item Group:        Incorrect Result => Regression             
                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #2:

This looks like the root cause to me:


clear all
myfunc = @(t) sin(t);
save somefile
clear all
load somefile
myfunc(0)     ### Octave hangs


This looks to me like a regression on the default branch, works fine in Octave
4.2.1.

The reason for the necessity of the section marker is that local variables are
saved and loaded between each section of code by the publish function.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51375>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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