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

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

[Octave-bug-tracker] [bug #53258] test pcg.m fail


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #53258] test pcg.m fail
Date: Thu, 1 Mar 2018 22:34:05 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

URL:
  <http://savannah.gnu.org/bugs/?53258>

                 Summary: test pcg.m fail
                 Project: GNU Octave
            Submitted by: dasergatskov
            Submitted on: Fri 02 Mar 2018 03:34:03 AM UTC
                Category: Test Suite
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Now with updated rand seed testing:


http://buildbot.octave.org:8010/builders/gcc-fedora/builds/1353/steps/test/logs/stdio

>>>>> processing
/home/buildbotu/fc25-x86_64/gcc-fedora/src/scripts/sparse/pcg.m
***** test
 ## solve small diagonal system

 N = 10;
 A = diag ([1:N]); b = rand (N, 1);
 X = A \ b;  # X is the true solution
 [x, flag] = pcg (A, b, [], N+1);
 assert (norm (x - X) / norm (X), 0, 1e-10);
 assert (flag, 0);
!!!!! test failed
ASSERT errors for:  assert (norm (x - X) / norm (X),0,1e-10)

  Location  |  Observed  |  Expected  |  Reason
     ()       3.9945e-07       0         Abs err 3.9945e-07 exceeds tol 1e-10
by 4e-07



The error looks pretty gross... (4000 X def tolerance)

Dmitri.
-- 





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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