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

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

[Octave-bug-tracker] [bug #55622] for loop does not run over a matrix wi


From: Fernando
Subject: [Octave-bug-tracker] [bug #55622] for loop does not run over a matrix with colums but no row
Date: Fri, 16 Feb 2024 03:23:37 -0500 (EST)

Follow-up Comment #27, bug#55622 (group octave):

This should be addressed also in the bytecode-interpreter branch. Currently,
changes in the tests have introduced some regressions in that branch. Maybe
Petter is not aware of this bug report.


octave:3> addpath /home/fernando/tmp/octave-hg/test/
octave:4> test for.tst
***** test <*55622>
 cnt = 0;
 for k = zeros (0,3)
   cnt++;
 endfor
 assert (cnt, 3);
 assert (k, zeros (0,1));
!!!!! regression: https://octave.org/testfailure/?55622
ASSERT errors for:  assert (cnt,3)

  Location  |  Observed  |  Expected  |  Reason
     ()           0            3         Abs err 3 exceeds tol 0 by 3
***** test <*50893>
 cnt = 0;
 for k = cell (0,3)
   cnt++;
 endfor
 assert (cnt, 3);
 assert (k, cell (0,1));
!!!!! regression: https://octave.org/testfailure/?50893
ASSERT errors for:  assert (cnt,3)

  Location  |  Observed  |  Expected  |  Reason
     ()           0            3         Abs err 3 exceeds tol 0 by 3
***** test <*55622>
 cnt = 0;
 for k = zeros (1,2,0);
   cnt++;
 endfor
 assert (cnt, 0);
 assert (k, zeros (1,0));
!!!!! regression: https://octave.org/testfailure/?55622
ASSERT errors for:  assert (k,zeros (1, 0))

  Location  |  Observed  |  Expected  |  Reason
     .         O(1x2x0)      E(1x0)      Dimensions don't match
warning: test: file /home/fernando/tmp/octave-hg/test/for.tst leaked global
variables: __assert_printf__
PASSES 19 out of 22 tests




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55622>

_______________________________________________
Mensaje enviado vía Savannah
https://savannah.gnu.org/




reply via email to

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