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

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

[Octave-bug-tracker] [bug #49470] [MXE] eig.cc-tst failure in __run_test


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #49470] [MXE] eig.cc-tst failure in __run_test_suite__.m with 64-bit-Octave
Date: Sun, 13 Aug 2017 06:30:30 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0

Follow-up Comment #16, bug #49470 (project octave):

After reading Barbara's blog [1], I conclude that the test was intended to
check whether the correct default decomposition method is used for symmetric
input.
The failing test on Octave for Windows 64bit basically comes down to the
following equality failing there (see also Avinoam's comment #7):

>> isequal(1e-15, 10^-15)
ans = 0


In the attached patch, I changed the failing test to use numeric literals
instead of the power. With that change it produces the same results for "chol"
and "qz" on Windows 64bit and Linux. I also added a comment that clarifies
what is checked, and merged the three similar tests into one.

I also tried to find a non-symmetric matrix that produces different results
for "chol" and "qz" but was unsuccessful to find one. Maybe someone that is
more familiar with the algorithms/numerics involved can add a test for this
case, too.

[1]:
http://barbaralocsigsoc2016.blogspot.de/2016/07/cholqz-and-matrixvector-flags.html

(file #41503)
    _______________________________________________________

Additional Item Attachment:

File name: bug49470_eig_test.patch        Size:1 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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