Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58363 - sandbox/odeint/boost/numeric/odeint
From: mario.mulansky_at_[hidden]
Date: 2009-12-13 14:10:00


Author: mariomulansky
Date: 2009-12-13 14:09:59 EST (Sun, 13 Dec 2009)
New Revision: 58363
URL: http://svn.boost.org/trac/boost/changeset/58363

Log:
a few last container_traits changes
Text files modified:
   sandbox/odeint/boost/numeric/odeint/controlled_stepper_bs.hpp | 6 +++---
   sandbox/odeint/boost/numeric/odeint/stepper_rk_generic.hpp | 2 +-
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: sandbox/odeint/boost/numeric/odeint/controlled_stepper_bs.hpp
==============================================================================
--- sandbox/odeint/boost/numeric/odeint/controlled_stepper_bs.hpp (original)
+++ sandbox/odeint/boost/numeric/odeint/controlled_stepper_bs.hpp 2009-12-13 14:09:59 EST (Sun, 13 Dec 2009)
@@ -318,7 +318,7 @@
             m_times[k_est] = t_est;
             x_err = x = x_est;
 
- const iterator x_end = x.end();
+ const iterator x_end = traits_type::end(x);
 
             if( k_est == 0 )
             {
@@ -336,8 +336,8 @@
 
                    //std::clog << " values: " << delta << '\t' << val1 << '\t' << val2 << std::endl;
 
- iterator x_iter = x.begin();
- iterator x_err_iter = x_err.begin();
+ iterator x_iter = traits_type::begin(x);
+ iterator x_err_iter = traits_type::begin(x_err);
                    iterator d_k_iter = m_d[k].begin();
                    iterator c_iter = m_c.begin();
                    while( x_iter != x_end )

Modified: sandbox/odeint/boost/numeric/odeint/stepper_rk_generic.hpp
==============================================================================
--- sandbox/odeint/boost/numeric/odeint/stepper_rk_generic.hpp (original)
+++ sandbox/odeint/boost/numeric/odeint/stepper_rk_generic.hpp 2009-12-13 14:09:59 EST (Sun, 13 Dec 2009)
@@ -389,7 +389,7 @@
             while( x_iter != m_xvec.end() )
             {
                 traits_type::adjust_size(x, (*x_iter));
- (*xiter_iter++) = (*x_iter++).begin();
+ (*xiter_iter++) = traits_type::begin(*x_iter++);
             }
             traits_type::adjust_size(x, m_xtmp);
             


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