octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50010] Index error message "error: a(5): out


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #50010] Index error message "error: a(5): out of bound 1", et al. have bracket type match
Date: Tue, 10 Jan 2017 10:48:15 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #2, bug #50010 (project octave):

The attached patch appears to do the job for me.

At the point where the exception is first thrown, we don't know the type of
indexing that was used.  That's only known in the octave_cell indexing or
indexed assignment methods.  So I added try/catch blocks there to set the type
of indexing for the exception message that is created later.

(file #39424)
    _______________________________________________________

Additional Item Attachment:

File name: diffs.txt                      Size:9 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50010>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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