Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51309 - sandbox/boost/numeric/bindings/mumps
From: karl.meerbergen_at_[hidden]
Date: 2009-02-18 08:36:50


Author: karlmeerbergen
Date: 2009-02-18 08:36:50 EST (Wed, 18 Feb 2009)
New Revision: 51309
URL: http://svn.boost.org/trac/boost/changeset/51309

Log:
bug in tests of job

Text files modified:
   sandbox/boost/numeric/bindings/mumps/mumps_driver_4_8_0.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/boost/numeric/bindings/mumps/mumps_driver_4_8_0.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/mumps/mumps_driver_4_8_0.hpp (original)
+++ sandbox/boost/numeric/bindings/mumps/mumps_driver_4_8_0.hpp 2009-02-18 08:36:50 EST (Wed, 18 Feb 2009)
@@ -6,8 +6,8 @@
 // http://www.boost.org/LICENSE_1_0.txt)
 //
 
-#ifndef BOOST_NUMERIC_BINDINGS_MUMPS_MUMPS_DRIVER_4_6_4_HPP
-#define BOOST_NUMERIC_BINDINGS_MUMPS_MUMPS_DRIVER_4_6_4_HPP
+#ifndef BOOST_NUMERIC_BINDINGS_MUMPS_MUMPS_DRIVER_4_8_0_HPP
+#define BOOST_NUMERIC_BINDINGS_MUMPS_MUMPS_DRIVER_4_8_0_HPP
 
 #include <smumps_c.h>
 #include <cmumps_c.h>
@@ -251,7 +251,7 @@
     assert( data.job>=1 ? data.irn!=0 : true ) ;
     assert( data.job>=1 ? data.jcn!=0 : true ) ;
     assert( data.job>=2 ? data.a!=0 : true ) ;
- assert( data.job>=3 ? data.rhs!=0 : true ) ;
+ assert( data.job==3 || data.job==5 ? data.rhs!=0 : true ) ;
     detail::mumps_call<typename M::value_type>() ( static_cast<typename mumps<M>::c_struct_type&>( data ) ) ;
     return data.info[0] ;
   } // driver()


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