Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50292 - sandbox/libs/numeric/bindings/lapack/test
From: thomas.klimpel_at_[hidden]
Date: 2008-12-16 05:11:00


Author: klimpel
Date: 2008-12-16 05:10:59 EST (Tue, 16 Dec 2008)
New Revision: 50292
URL: http://svn.boost.org/trac/boost/changeset/50292

Log:
minor modifications, to make lapack regression tests pass with gcc-4.2.2 on linux64

Text files modified:
   sandbox/libs/numeric/bindings/lapack/test/ublas_gees.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/libs/numeric/bindings/lapack/test/ublas_gees.cpp
==============================================================================
--- sandbox/libs/numeric/bindings/lapack/test/ublas_gees.cpp (original)
+++ sandbox/libs/numeric/bindings/lapack/test/ublas_gees.cpp 2008-12-16 05:10:59 EST (Tue, 16 Dec 2008)
@@ -66,7 +66,7 @@
>= safety_factor*10.0* norm_frobenius( a2 ) * std::numeric_limits< real_type >::epsilon() ) return 255 ;
 
    lapack::gees( a2, e2, workspace ) ;
- if (norm_2( e1 - e2 ) > norm_2( e1 ) * std::numeric_limits< real_type >::epsilon()) return 255 ;
+ if (norm_2( e1 - e2 ) > safety_factor*norm_2( e1 ) * std::numeric_limits< real_type >::epsilon()) return 255 ;
 
    if (norm_frobenius( a2 - a )
>= safety_factor*10.0* norm_frobenius( a2 ) * std::numeric_limits< real_type >::epsilon() ) return 255 ;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk