octave-maintainers
[Top][All Lists]
Advanced

[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 14:02:27 -0400

On Fri, Oct 30, 2015 at 1:58 PM, Nicholas Jankowski <address@hidden> wrote:
> 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
>>
> 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.
>

just to answer my own question, I got the same error updating to 2.3.3
(on Octave 4.0.0/Win7)

nickj



reply via email to

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