Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57463 - sandbox/odeint/boost/numeric/odeint
From: karsten.ahnert_at_[hidden]
Date: 2009-11-07 14:26:44


Author: karsten
Date: 2009-11-07 14:26:44 EST (Sat, 07 Nov 2009)
New Revision: 57463
URL: http://svn.boost.org/trac/boost/changeset/57463

Log:
mini changes
Text files modified:
   sandbox/odeint/boost/numeric/odeint/euler.hpp | 2 +-
   sandbox/odeint/boost/numeric/odeint/runge_kutta_4.hpp | 12 ++++++------
   2 files changed, 7 insertions(+), 7 deletions(-)

Modified: sandbox/odeint/boost/numeric/odeint/euler.hpp
==============================================================================
--- sandbox/odeint/boost/numeric/odeint/euler.hpp (original)
+++ sandbox/odeint/boost/numeric/odeint/euler.hpp 2009-11-07 14:26:44 EST (Sat, 07 Nov 2009)
@@ -73,7 +73,7 @@
         // public interface
     public:
 
- order_type order() const { return 1; }
+ order_type order() { return 1; }
 
 
 

Modified: sandbox/odeint/boost/numeric/odeint/runge_kutta_4.hpp
==============================================================================
--- sandbox/odeint/boost/numeric/odeint/runge_kutta_4.hpp (original)
+++ sandbox/odeint/boost/numeric/odeint/runge_kutta_4.hpp 2009-11-07 14:26:44 EST (Sat, 07 Nov 2009)
@@ -30,7 +30,7 @@
 
     template<
         class Container ,
- class Time = double ,
+ class Time = double ,
         class Resizer = resizer< Container >
>
     class ode_step_runge_kutta_4
@@ -54,7 +54,7 @@
     private:
 
         BOOST_CLASS_REQUIRE( container_type ,
- boost::numeric::odeint, StateType );
+ boost::numeric::odeint, StateType );
 
 
 
@@ -72,10 +72,10 @@
 
 
 
- // public interface
+ // public interface
     public:
 
- order_type order() const { return 4; }
+ order_type order() { return 4; }
 
         template< class DynamicalSystem >
         void next_step( DynamicalSystem system ,
@@ -84,7 +84,7 @@
                         time_type t ,
                         time_type dt )
         {
- using namespace detail::it_algebra;
+ using namespace detail::it_algebra;
 
             const time_type val2 = time_type( 2.0 );
 
@@ -98,7 +98,7 @@
             assign_sum( m_xt.begin() , m_xt.end() , x.begin() , dxdt.begin() , dh );
 
             system( m_xt , m_dxt , th );
- assign_sum( m_xt.begin() , m_xt.end() , x.begin() , m_dxt.begin() , dh );
+ assign_sum( m_xt.begin() , m_xt.end() , x.begin() , m_dxt.begin() , dh );
 
             system( m_xt , m_dxm , th );
             assign_sum_increment( m_xt.begin() , m_xt.end() , x.begin() ,


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