octave-maintainers
[Top][All Lists]
Advanced

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

Failed test in linsolve.m


From: Julien Bect
Subject: Failed test in linsolve.m
Date: Thu, 02 Apr 2015 08:35:33 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

Dear all,

Here the result I get when compiling from hg changeset 185e8dbdaa40 (very recent) on a Debian wheezy (7.8) x86_64 machine with "./configure --without-OSMesa":

Summary:

  PASS     12873
  FAIL         1
  XFAIL       14
  SKIPPED     96

The log for the failed test is:

>>>>> processing /usr/local/src/octave/default/scripts/linear-algebra/linsolve.m
***** test
 n = 4;
 A = triu (rand (n));
 x = rand (n, 1);
 b = A' * x;
 opts.UT = true;
 opts.TRANSA = true;
 assert (linsolve (A, b, opts), A' \ b);
!!!!! test failed
ASSERT errors for:  assert (linsolve (A, b, opts),A' \ b)

  Location  |  Observed  |  Expected  |  Reason
    (1)        0.42063      0.42063      Abs err 5.5511e-17 exceeds tol 0
    (2)        0.68722      0.68722      Abs err 4.1078e-15 exceeds tol 0
    (3)        0.25533      0.25533      Abs err 2.1094e-15 exceeds tol 0
    (4)        0.52907      0.52907      Abs err 7.3275e-15 exceeds tol 0

Has anybody seen this ? Perhaps should we introduce a tolerance for these tests ?

@++
Julien



reply via email to

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