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: Rik
Subject: [Octave-bug-tracker] [bug #53258] test pcg.m fail
Date: Tue, 6 Mar 2018 19:02:46 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #2, bug #53258 (project octave):

Confirmed.

I bet this is because we don't fix a random seed and pcg is an iterative
method which depends on the initial starting point.

For testing I used


N = 1e3;

bm = zeros (N,1);
for i = 1:N
  bm(i) = test ("pcg", "verbose", "pcg.res");
endfor

sum (bm)


The number of tests that pass is >=996, but there are a few failures for each
1000 iterations.

This probably means the BIST tests for all iterative solvers should be checked
to see if they fail occasionally.


    _______________________________________________________

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]