[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57460] Tolerance exceeded in test for "svds"
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #57460] Tolerance exceeded in test for "svds" on Windows |
Date: |
Sun, 22 Dec 2019 05:10:12 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0 |
URL:
<https://savannah.gnu.org/bugs/?57460>
Summary: Tolerance exceeded in test for "svds" on Windows
Project: GNU Octave
Submitted by: mmuetzel
Submitted on: Sun 22 Dec 2019 11:10:10 AM CET
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: Microsoft Windows
_______________________________________________________
Details:
Running the test suite on Windows with Octave hg id 1a75fca6ad5d and MXE
Octave hg id 5a6318b5b71d, I see the following error for svds.m:
>>>>> processing
D:\Repositories\Octave\test\octave-2019-12-22-10-10-w64_clean\octave-2019-12-22-10-10-w64\mingw64\share\octave\6.0.0\m\sparse\svds.m
***** testif HAVE_ARPACK
[u2,s2,v2,flag] = svds (A,k);
s2 = diag (s2);
assert (flag, ! 1);
tol = 10 * eps() * norm(s2, 1);
assert (s2, s(end:-1:end-k+1), tol);
!!!!! test failed
ASSERT errors for: assert (s2,s (end:-1:end - k + 1),tol)
Location | Observed | Expected | Reason
(4) 41.9848 41.9848 Abs err 7.6739e-13 exceeds tol
6.5244e-13 by 1e-13
The shared variables used for this test are:
n = 100;
k = 7;
A = sparse
([3:n,1:n,1:(n-2)],[1:(n-2),1:n,3:n],[ones(1,n-2),0.4*n*ones(1,n),ones(1,n-2)]);
[u,s,v] = svd (full (A));
s = diag (s);
[~, idx] = sort (abs (s));
s = s(idx);
Maybe it is good enough to just increase the tolerance.
But it would be better if someone more experienced in numerical mathematics
could comment.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57460>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57460] Tolerance exceeded in test for "svds" on Windows,
Markus Mützel <=
- [Octave-bug-tracker] [bug #57460] Tolerance exceeded in test for "svds" on Windows, Rik, 2019/12/23
- [Octave-bug-tracker] [bug #57460] Tolerance exceeded in test for "svds" on Windows, Markus Mützel, 2019/12/23
- [Octave-bug-tracker] [bug #57460] Tolerance exceeded in test for "svds" on Windows, Markus Mützel, 2019/12/23
- [Octave-bug-tracker] [bug #57460] Tolerance exceeded in test for "svds" on Windows, Rik, 2019/12/23
- [Octave-bug-tracker] [bug #57460] Tolerance exceeded in test for "svds" on Windows, Markus Mützel, 2019/12/23
- [Octave-bug-tracker] [bug #57460] Tolerance exceeded in test for "svds" on Windows, Rik, 2019/12/23
- [Octave-bug-tracker] [bug #57460] Tolerance exceeded in test for "svds" on Windows, Markus Mützel, 2019/12/24
- [Octave-bug-tracker] [bug #57460] Tolerance exceeded in test for "svds" on Windows, Rik, 2019/12/24