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

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

[Octave-bug-tracker] [bug #41756] assert wrongly returning no error


From: John Hunt
Subject: [Octave-bug-tracker] [bug #41756] assert wrongly returning no error
Date: Sun, 02 Mar 2014 20:24:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0

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

This is indeed related to a Ctrl-C during a long assert.
Here is how to reproduce.


octave:4> a=1:10000;
octave:5> b = a;
octave:6> b(end) = 2;
octave:7> tic; assert(a, b); toc
error: ASSERT errors for:  assert (a,b)

  Location  |  Observed  |  Expected  |  Reason
  (10000)       10000          2         Abs err 9998 exceeds tol 0
octave:7> tic; assert(a, b+1); toc
^C
octave:7> tic; assert(a, b); toc
Elapsed time is 0.030268 seconds.
octave:8> tic; assert(a, b+1); toc
Elapsed time is 12.4797 seconds.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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