|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #35068] segfault when running %!test block with embedded %!function |
Date: | Wed, 14 Dec 2011 17:11:41 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 |
Update of bug #35068 (project octave): Status: None => Confirmed _______________________________________________________ Follow-up Comment #2: Actually, there is a workaround. Use a '%!function' block rather than defining the function within a %!test block. The following works: %!function retval = myfunct(x) %! retval = exp(-x.*x); %!endfunction %! %!test %! y = myfunct (10); _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?35068> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |