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: Wed, 05 Oct 2011 18:03:24 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

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

octave:7> debug_on_error ()
ans =  1
octave:8> [order, n, T_f1, T_f2] = speed ("sum (x)", "", [100, 1000], "v = 0;
for i =1:length (x), v += x(i); end")
error: speed: subscript indices must be either positive integers or logicals
error: called from
    speed at line 256 column 5
stopped in /pub/hg/octave_build/../octave/scripts/testfun/speed.m at line 256
256:   p = polyfit (log (__test_n(tailidx)), log (__tnew(tailidx)), 1);
debug> tailidx
tailidx = 0
debug> __tnew(tailidx)
error: speed: subscript indices must be either positive integers or logicals
debug> __tnew
__tnew = [](1x0)
debug> __test_n
__test_n = [](1x0)


    _______________________________________________________

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]