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

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

[Octave-bug-tracker] [bug #34234] two tests fail in speed.m (MinGW)


From: marco atzeri
Subject: [Octave-bug-tracker] [bug #34234] two tests fail in speed.m (MinGW)
Date: Thu, 06 Oct 2011 01:22:06 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Follow-up Comment #16, bug #34234 (project octave):

 dbstop ("speed", 255);
octave:8> [order, n, T_f1, T_f2] = speed ("sum (x)", "", [100, 1000], "v = 0;
for i =1:length (x), v += x(i); end")
stopped in /pub/hg/octave_build/../octave/scripts/testfun/speed.m at line 255
255:   tailidx = ceil(length(__test_n)/2):length(__test_n);
debug> __test_n
__test_n = [](1x0)

-------------------------------------------------------
but much earlier

debug> dbnext
stopped in /pub/hg/octave_build/../octave/scripts/testfun/speed.m at line 191
191:   assert (__test_n >= 1);
debug> __test_n
__test_n =

 Columns 1 through 11:

    100    118    139    164    193    228    268    316    373    439    518

 Columns 12 through 15:

    611    720    848   1000
------------------------------------------------------
stopped in /pub/hg/octave_build/../octave/scripts/testfun/speed.m at line 244
244:     zidx = (__tnew < 100*eps |  __torig < 100*eps);
debug> __tnew
__tnew =

   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

debug> __torig
__torig =

 Columns 1 through 6:

   9.7704e-04   2.9299e-03   9.7609e-04   1.9529e-03   1.9541e-03  
1.9529e-03

 Columns 7 through 12:

   1.9529e-03   4.8831e-03   6.8359e-03   7.8130e-03   8.7891e-03  
1.0742e-02

 Columns 13 through 15:

   6.8362e-03   6.8359e-03   8.7891e-03



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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