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

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

[Octave-bug-tracker] [bug #35157] Naive users baffled by "complex scalar


From: Rik
Subject: [Octave-bug-tracker] [bug #35157] Naive users baffled by "complex scalar type invalid as index value"
Date: Sat, 31 Dec 2011 04:13:29 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

Follow-up Comment #17, bug #35157 (project octave):

The proposed patch looks good.  What about adding a test for the new behavior
to test_index-wfi-f.m?


%!shared x
%! x = 1:5;
%!error <attempted to use a complex scalar as an index> x(i)
%!error <attempted to use a complex scalar as an index> x(j)
%!error <attempted to use a complex scalar as an index> x(1+i)




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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