Fix iterator type mismatch

This commit is contained in:
Matt Borland 2023-12-18 08:44:42 +01:00
parent d59463b97e
commit 202ebd4c9f
No known key found for this signature in database
GPG Key ID: 30EFCE23CA65A72C

View File

@ -188,7 +188,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE( copy_algorithm_negative_time_step , Stepper , dum
typedef times_time_iterator< Stepper , empty_system , state_type , time_iterator_type > stepper_iterator;
state_type x = {{ 1.0 }};
result_vector res;
boost::array<double,4> neg_times = {{ 0.0 , -0.1, -0.2, -0.3 }};
std::array<double,4> neg_times = {{ 0.0 , -0.1, -0.2, -0.3 }};
stepper_iterator first( Stepper() , empty_system() , x , neg_times.begin() , neg_times.end() , -0.1 );
stepper_iterator last( Stepper() , empty_system() , x );