Andy1978

Joined 8 January 2013
262 bytes added ,  2 August 2013
Line 50: Line 50:
  system(cmd);
  system(cmd);
  c=load("file2.txt.gz")  #this fails in newer versions
  c=load("file2.txt.gz")  #this fails in newer versions
When run:
$ octave -q min_testcase_fails.m
fn = file2.txt
cmd = gzip file2.txt -c > file2.txt.gz
error: value on right hand side of assignment is undefined
error: called from:
error:  /home/andy/src/octave-bugs/min_testcase_fails.m at line 17, column 2


If line 4 with "663, 15, 154, 978161" is changed to ""663, 16, 154, 978161", load works as expected. '''Strange, isn't it?'''
If line 4 with "663, 15, 154, 978161" is changed to ""663, 16, 154, 978161", load works as expected. '''Strange, isn't it?'''
219

edits