[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with failing unit test in stk : any ideas ?
From: |
Nicholas Jankowski |
Subject: |
Re: problem with failing unit test in stk : any ideas ? |
Date: |
Fri, 30 Oct 2015 13:58:23 -0400 |
what version of stk do you have installed? I noticed my v4.0.0 copy
has 2.3.2, but there is a 2.3.3 available.
On Fri, Oct 30, 2015 at 1:34 PM, Julien Bect
<address@hidden> wrote:
> 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
>