octave-maintainers
[Top][All Lists]
Advanced

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

problem with failing unit test in stk : any ideas ?


From: Julien Bect
Subject: problem with failing unit test in stk : any ideas ?
Date: Fri, 30 Oct 2015 18:34:44 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Hello all,

I have a failing unit test in the stk package that I don't understand.

If I type in Octave (I've tried 3.8.1 and 4.0.0+, same result):

   pkg load stk
   test stk_example_kb09

I get the following error:

   ***** test HOMOSCEDASTIC_NOISE = false;  stk_example_kb09;  close all;
   !!!!! test failed
   'HOMOSCEDASTIC_NOISE' undefined near line 60 column 4

The relevant lines in stk_example_kb09 are:

   % Default: homoscedastic noise
   if ~ exist ('HOMOSCEDASTIC_NOISE', 'var')
      HOMOSCEDASTIC_NOISE = true;
   end

   % Standard deviation of the noise
   if HOMOSCEDASTIC_NOISE
      NOISE_STD_FUNC = @(x) 0.5;
   else
      NOISE_STD_FUNC = @(x) (0.1 + (x + 1) .^ 2);
   end

Any ideas ?

@++
Julien



reply via email to

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