Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68778 - in sandbox/odeint: . boost/numeric/odeint
From: karsten.ahnert_at_[hidden]
Date: 2011-02-11 05:11:24


Author: karsten
Date: 2011-02-11 05:11:19 EST (Fri, 11 Feb 2011)
New Revision: 68778
URL: http://svn.boost.org/trac/boost/changeset/68778

Log:
* fixing initialization of stepper_half_step

Text files modified:
   sandbox/odeint/.project | 2 +-
   sandbox/odeint/boost/numeric/odeint/stepper_half_step.hpp | 1 +
   2 files changed, 2 insertions(+), 1 deletions(-)

Modified: sandbox/odeint/.project
==============================================================================
--- sandbox/odeint/.project (original)
+++ sandbox/odeint/.project 2011-02-11 05:11:19 EST (Fri, 11 Feb 2011)
@@ -31,7 +31,7 @@
                                 </dictionary>
                                 <dictionary>
                                         <key>org.eclipse.cdt.make.core.buildLocation</key>
- <value>${workspace_loc:/odeint/Release}</value>
+ <value>${workspace_loc:/odeint/Debug}</value>
                                 </dictionary>
                                 <dictionary>
                                         <key>org.eclipse.cdt.make.core.cleanBuildTarget</key>

Modified: sandbox/odeint/boost/numeric/odeint/stepper_half_step.hpp
==============================================================================
--- sandbox/odeint/boost/numeric/odeint/stepper_half_step.hpp (original)
+++ sandbox/odeint/boost/numeric/odeint/stepper_half_step.hpp 2011-02-11 05:11:19 EST (Fri, 11 Feb 2011)
@@ -96,6 +96,7 @@
 
         // contructor, which adjust the size of internal containers
         stepper_half_step( const container_type &x )
+ : m_fac( 1.0 / std::pow( 2.0 , m_stepper.order_step() ) - 1.0 )
         {
             adjust_size( x );
         }


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