On 5-Jan-2011, Doug Stewart wrote:
| I am using ubuntu and tip from hg.
|
| In fntests.log I see
|
| >>>>> processing /home/doug/octave_dev/compiling/octave/src/DLD-FUNCTIONS/lu.cc
| ***** testif HAVE_QRUPDATE_LUU
| [L,U,P] = lu(A);
| [L,U] = luupdate(L,U,P*u,v);
| assert(norm(vec(tril(L)-L),Inf) == 0)
| assert(norm(vec(triu(U)-U),Inf) == 0)
| assert(norm(vec(P'*L*U - A - u*v.'),Inf) < norm(A)*1e1*eps)
|
| ----- skipped test
|
| ***** testif HAVE_QRUPDATE_LUU
| [L,U,P] = lu(Ac);
| [L,U] = luupdate(L,U,P*uc,vc);
| assert(norm(vec(tril(L)-L),Inf) == 0)
| etc.
|
|
|
|
| In lu.cc at the bottom we have
|
|
| %!testif HAVE_QRUPDATE_LUU
| %! [L,U,P] = lu(A);
| %! [L,U] = luupdate(L,U,P*u,v);
| %! assert(norm(vec(tril(L)-L),Inf) == 0)
| %! assert(norm(vec(triu(U)-U),Inf) == 0)
| %! assert(norm(vec(P'*L*U - A - u*v.'),Inf) < norm(A)*1e1*eps)
| %!
| %!testif HAVE_QRUPDATE_LUU
| %! [L,U,P] = lu(Ac);
| %! [L,U] = luupdate(L,U,P*uc,vc);
|
| etc
|
| What I don't see is where HAVE_QRUPDATE_LUU is initilased to be true or false.
| I am assuming it is FALSE and therefore skipping the tests.
The "testif" directive looks in the list of -D options found in the