[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
test failures
From: |
John W. Eaton |
Subject: |
test failures |
Date: |
Sun, 22 Feb 2009 13:32:31 -0500 |
After the latest sparse changes, I see the following failures:
>>>>> processing /export/home/jwe/src/octave/scripts/sparse/svds.m
***** testif HAVE_ARPACK
[u2,s2,v2,flag] = svds(a,k,0);
s2 = diag(s2);
assert(flag,!1);
assert(s(k:-1:1), s2, 1e-10);
!!!!! test failed
eigs: sigma must be a scalar or a string ***** testif HAVE_ARPACK
idx = floor(n/2);
% Don't put sigma right on a singular value or there are convergence
sigma = 0.99*s(idx) + 0.01*s(idx+1);
[u2,s2,v2,flag] = svds(a,k,sigma);
s2 = diag(s2);
assert(flag,!1);
assert(s((idx+floor(k/2)):-1:(idx-floor(k/2))), s2, 1e-10);
!!!!! test failed
eigs: sigma must be a scalar or a string
>>>>> processing test_sparse
***** test
wdbz = warning ("query", "Octave:divide-by-zero");
warning ("off", "Octave:divide-by-zero");
assert(full(sparse(eye(3))/0),full(eye(3))/0);
warning (wdbz.state, "Octave:divide-by-zero");
!!!!! test failed
assert (full (sparse (eye (3)) / 0),full (eye (3)) / 0) expected
Inf NaN NaN
NaN Inf NaN
NaN NaN Inf
but got
Inf 0 0
0 Inf 0
0 0 Inf
NaNs don't matchshared variables {
bf = 2.2251e-308 + 2.2251e-308i
}
I fixed the one in test_sparse.m.
Could someone else take a look a the failing svds tests?
Thanks,
jwe
- test failures,
John W. Eaton <=