Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68528 - sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper
From: karsten.ahnert_at_[hidden]
Date: 2011-01-28 07:14:38


Author: karsten
Date: 2011-01-28 07:14:37 EST (Fri, 28 Jan 2011)
New Revision: 68528
URL: http://svn.boost.org/trac/boost/changeset/68528

Log:
fixing constr correctness

Text files modified:
   sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper/controlled_error_stepper.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper/controlled_error_stepper.hpp
==============================================================================
--- sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper/controlled_error_stepper.hpp (original)
+++ sandbox/odeint/branches/karsten/boost/numeric/odeint/stepper/controlled_error_stepper.hpp 2011-01-28 07:14:37 EST (Fri, 28 Jan 2011)
@@ -115,7 +115,7 @@
                 m_xnew_size_adjuster.register_state( 0 , m_xnew );
         }
 
- void copy( controlled_error_stepper &stepper )
+ void copy( const controlled_error_stepper &stepper )
         {
                 boost::numeric::odeint::copy( stepper.m_dxdt , m_dxdt );
                 boost::numeric::odeint::copy( stepper.m_xerr , m_xerr );
@@ -323,7 +323,7 @@
                 m_new_size_adjuster.register_state( 1 , m_dxdtnew );
         }
 
- void copy( controlled_error_stepper &stepper )
+ void copy( const controlled_error_stepper &stepper )
         {
                 boost::numeric::odeint::copy( stepper.m_dxdt , m_dxdt );
                 boost::numeric::odeint::copy( stepper.m_xerr , m_xerr );


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