|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #47828] persistent handle to function with subfunction fails after "clear all" |
Date: | Mon, 02 May 2016 18:28:31 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
Update of bug #47828 (project octave): Category: None => Interpreter Status: None => Confirmed Release: 4.0.2 => dev Summary: Problement with persistent handle and "clear all" => persistent handle to function with subfunction fails after "clear all" _______________________________________________________ Follow-up Comment #1: Confirmed, this bug actually needs a handle to a function that references a subfunction, which is why the error you see is about "empty_cf" not about "sqp". Here is a simple demonstrator: $ cat bug47828.m function bug47828 () persistent func; if (isempty (func)) func = @myfunc; mlock (); endif func (); endfunction $ cat myfunc.m function myfunc () disp ("myfunc"); myinnerfunc (); endfunction function myinnerfunc () disp ("myinnerfunc"); endfunction _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47828> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |