Boost logo

Boost-Commit :

From: thomas.klimpel_at_[hidden]
Date: 2008-08-10 05:40:53


Author: klimpel
Date: 2008-08-10 05:40:52 EDT (Sun, 10 Aug 2008)
New Revision: 48056
URL: http://svn.boost.org/trac/boost/changeset/48056

Log:
Add missing "inline" to two Umfpack functions.

Found by Anton Kuut, via Nuno Sucena Almeida.
http://article.gmane.org/gmane.comp.lib.boost.ublas/2418/match=umfpack

Text files modified:
   sandbox/boost/numeric/bindings/umfpack/umfpack_overloads.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: sandbox/boost/numeric/bindings/umfpack/umfpack_overloads.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/umfpack/umfpack_overloads.hpp (original)
+++ sandbox/boost/numeric/bindings/umfpack/umfpack_overloads.hpp 2008-08-10 05:40:52 EDT (Sun, 10 Aug 2008)
@@ -370,6 +370,7 @@
 
     // report triplet (coordinate)
 
+ inline
     int report_triplet (int n_row, int n_col, int nz,
                         int const* Ti, int const* Tj, double const* Tx,
                         double const* Control)
@@ -377,6 +378,7 @@
       return umfpack_di_report_triplet (n_row, n_col, nz, Ti, Tj, Tx, Control);
     }
 
+ inline
     int report_triplet (int n_row, int n_col, int nz,
                         int const* Ti, int const* Tj,
                         traits::complex_d const* Tx,
@@ -396,10 +398,12 @@
 
     // report vector
 
+ inline
     int report_vector (int n, double const* X, double const* Control) {
       return umfpack_di_report_vector (n, X, Control);
     }
 
+ inline
     int report_vector (int n, traits::complex_d const* X,
                        double const* Control)
     {


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