diff options
Diffstat (limited to 'boost/numeric/odeint/iterator')
3 files changed, 4 insertions, 4 deletions
diff --git a/boost/numeric/odeint/iterator/impl/adaptive_iterator_impl.hpp b/boost/numeric/odeint/iterator/impl/adaptive_iterator_impl.hpp index 643b53937..e5b4b3cf4 100644 --- a/boost/numeric/odeint/iterator/impl/adaptive_iterator_impl.hpp +++ b/boost/numeric/odeint/iterator/impl/adaptive_iterator_impl.hpp @@ -205,7 +205,7 @@ namespace odeint { * \param sys The system function (ODE) to solve. * \param s The initial state. */ - adaptive_iterator_impl( stepper_type stepper , system_type sys , state_type &s ) + adaptive_iterator_impl( stepper_type stepper , system_type sys , state_type& /* s */ ) : base_type( stepper , sys ) { } protected: diff --git a/boost/numeric/odeint/iterator/impl/const_step_iterator_impl.hpp b/boost/numeric/odeint/iterator/impl/const_step_iterator_impl.hpp index 449acfa79..e23474c7a 100644 --- a/boost/numeric/odeint/iterator/impl/const_step_iterator_impl.hpp +++ b/boost/numeric/odeint/iterator/impl/const_step_iterator_impl.hpp @@ -77,7 +77,7 @@ namespace odeint { * \param sys The system function (ODE) to solve. * \param s The initial state. const_step_iterator stores a reference of s and changes its value during the iteration. */ - const_step_iterator_impl( stepper_type stepper , system_type sys , state_type &s ) + const_step_iterator_impl( stepper_type stepper , system_type sys , state_type& /* s */ ) : base_type( stepper , sys ) { } protected: diff --git a/boost/numeric/odeint/iterator/integrate/detail/integrate_n_steps.hpp b/boost/numeric/odeint/iterator/integrate/detail/integrate_n_steps.hpp index 147799040..f90f8875c 100644 --- a/boost/numeric/odeint/iterator/integrate/detail/integrate_n_steps.hpp +++ b/boost/numeric/odeint/iterator/integrate/detail/integrate_n_steps.hpp @@ -48,7 +48,7 @@ Time integrate_n_steps( Observer observer , stepper_tag ) { // ToDo: is there a better way to extract the final time? - Time t; + Time t = start_time; // Assignment is only here to avoid warnings. boost::for_each( make_n_step_time_range( stepper , system , start_state , start_time , dt , num_of_steps ) , obs_caller_time< Observer , Time >( t , observer ) ); @@ -91,7 +91,7 @@ Time integrate_n_steps( Observer observer , dense_output_stepper_tag ) { // ToDo: is there a better way to extract the final time? - Time t; + Time t = start_time; // Assignment is only here to avoid warnings. boost::for_each( make_n_step_time_range( stepper , system , start_state , start_time , dt , num_of_steps ) , obs_caller_time< Observer , Time >( t , observer ) ); |