[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
new test error for svds.m
From: |
Ben Abbott |
Subject: |
new test error for svds.m |
Date: |
Thu, 27 May 2010 07:55:13 -0400 |
Rik,
With my last build, I encountered a test error for svds.m. My tip is
changeset: 10665:0f310fce905d
tag: tip
user: Jaroslav Hajek <address@hidden>
date: Thu May 27 08:54:44 2010 +0200
summary: implement octave_base_matrix::matrix_ref const
The test error is …
>>>>> processing
>>>>> /Users/bpabbott/Development/mercurial/local_clone/scripts/sparse/svds.m
***** testif HAVE_ARPACK
[u2,s2,v2,flag] = svds(a,k,0,opts);
s2 = diag(s2);
assert(flag,!1);
assert(s(k:-1:1), s2, 1e-10);
!!!!! test failed
assert (s (k:-1:1),s2,1e-10) expected
38.060
38.060
38.034
38.034
38.015
38.015
38.004
but got
38.060
38.034
38.034
38.015
38.015
38.004
38.004
maximum absolute error 0.0263523 exceeds tolerance 1e-10
If I make the change below, the test passes.
%! [u2,s2,v2,flag] = svds(a,k,0);#,opts);
Are there more changes to come for svds.m which will resolve this?
Ben
- new test error for svds.m,
Ben Abbott <=