bugGNU Octave - Bugs: bug #46350, Random errors with eval / function...

 
 

bug #46350: Random errors with eval / function / clear

Submitted by:  Julien Bect <jbect>
Submitted on:  Sat 31 Oct 2015 06:53:41 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 01 Nov 2015 08:03:12 AM UTC, comment #1:

The original problem is failing test in the stk package.

See discussion here: http://octave.1599824.n4.nabble.com/problem-with-failing-unit-test-in-stk-any-ideas-td4673218.html

Julien Bect <jbect>
Sat 31 Oct 2015 06:53:41 PM UTC, original submission:

Consider the following code:

Loading the stk package and running this code (in a script) several times in a row results in errors of the type:

The variable the triggers the error changes from time (it can be 'HOMOSCEDASTIC_NOISE' undefined near line 60 column 4, 'NOISE_STD_FUNC' undefined near line 77 column 13, 'zi' undefined near line 78 column 6...).

Once in a while it doesn't fail.

Removing the 'clear' statement in the middle seems to solve the issue, although I don't understand why.

Julien Bect <jbect>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jbect (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1