: To: [hidden email] : Subject: Error message
: Bug report for Octave 1.91 configured for i586-unknown-linux
: When using a vector or matrix index which is NaN, octave gives an
: error message like
: error: invalid vector index = -2147483648
: error: evaluating index expression near line 11, column 1
: So, if for example the following lines are part of an m-File
: [dis pos]=min(a);
: and the vector grows for some reason out of bounds, the program
: terminates with the above error message which does not give any clue
: what has been the real reason for the error.
Please try the following patch.
I don't know if this will be any better at pointing to the real cause
of the error, but at least it will tell you if you have tried to index
something with NaN or Inf values.