From bug-octave-request at che dot utexas dot edu Fri Nov 12 08:43:28 1993 Subject: index-assignment bug From: kircher at neuro dot tuwien dot ac dot at To: bug-octave at che dot utexas dot edu Cc: hornik at neuro dot tuwien dot ac dot at (Kurt Hornik) Date: Fri, 12 Nov 1993 15:42:42 +0100 (MET) Hello, I think I've found a bug. Maybe this is not expected to work yet but anyway here is my (short) report: There is a problem with indexing the left side of an assignment. An example (0.79): octave:2> x(7:-2:3)=[1 2 3] x = 0 0 3 0 2 0 1 works only if x is previously initialized with say x=zeros(1,7) and otherwise produces a octave:1> x(7:-2:3)=[1 2 3] panic: impossible state reached in file `tc-assign.cc' at line 414 error: caught SIGILL -- stopping myself... Quite interesting in 0.76 this was octave:1> x(7:-2:3)=[1 2 3] panic: impossible state reached in file `tc-assign.cc' at line 391 error: caught SIGIOT -- stopping myself... Gerhard PS. I think Kurt Hornik sent you some of our m-files for evaluation but has got no confirmation that you received them. Did you ?