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

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

[Octave-bug-tracker] [bug #50893] for loop index variable not initialize


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #50893] for loop index variable not initialized unless loop is entered
Date: Fri, 28 Apr 2017 14:28:28 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #1, bug #50893 (project octave):

Is it always initialized as double, or is the type set to the type of the loop
range?  Is there a difference between the following two loops?


xd = zeros (1, 0);
xi = zeros (1, 0, 'int32');
for kd = xd; end
for ki = xi; end
whos



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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