From c8280edff4b51da796aa91c77319f52e35f26dcb Mon Sep 17 00:00:00 2001 From: Pietro Incardona <incardon@mpi-cbg.de> Date: Tue, 22 Sep 2015 23:30:33 +0200 Subject: [PATCH] Make vector 3D test scalable --- src/Vector/vector_dist_unit_test.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Vector/vector_dist_unit_test.hpp b/src/Vector/vector_dist_unit_test.hpp index cd447d39..de114a56 100644 --- a/src/Vector/vector_dist_unit_test.hpp +++ b/src/Vector/vector_dist_unit_test.hpp @@ -276,7 +276,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_iterator_test_use_3d ) print_test_v( "Testing 3D vector k<=",k); // 3D test - for ( ; k >= 2 ; k-= (k > 2*big_step)?big_step:small_step ) + for ( ; k >= 2 ; k-= decrement(k,big_step) ) { BOOST_TEST_CHECKPOINT( "Testing 3D vector k=" << k ); Box<3,float> box({0.0,0.0,0.0},{1.0,1.0,1.0}); -- GitLab