[Top][All Lists]

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

[Octave-bug-tracker] [bug #32843] crash when repeatedly running a test w

From: Rik
Subject: [Octave-bug-tracker] [bug #32843] crash when repeatedly running a test where a function is defined in the test code
Date: Wed, 14 Dec 2011 17:13:45 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

Follow-up Comment #2, bug #32843 (project octave):

There is a workaround.  Use a '%!function' block rather than defining the
function within a %!test block.

The following works:

%!function p = prova (a)
%!  p = a;
%! assert (prova (1), 1);


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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