[Top][All Lists]

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

[Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randoml

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53242] tests: 'test subspace.m' fails randomly
Date: Tue, 27 Feb 2018 20:11:40 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

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

Edit: I just saw

***** test
 ## For random vectors
 a = rand (2,1);
 b = rand (2,1);
 a1 = norm (a,2);
 b1 = norm (b,2);
 theta = acos (dot (a,b)/(a1*b1));
 assert (theta, subspace (a, b), 100*eps);
!!!!! test failed
ASSERT errors for:  assert (theta,subspace (a, b),100 * eps)

  Location  |  Observed  |  Expected  |  Reason
     ()       4.7702e-05   4.7702e-05    Abs err 1.0036e-12 exceeds tol
2.2204e-14 by 1e-12

which is about 4520*eps.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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