diff --git a/src/Grid/grid_dist_id.hpp b/src/Grid/grid_dist_id.hpp index a9aa4805e4b902063e43590669012ad914b0075c..7c9c4fe8052435c03a12b753eec8e02242b3a90c 100644 --- a/src/Grid/grid_dist_id.hpp +++ b/src/Grid/grid_dist_id.hpp @@ -64,9 +64,6 @@ class grid_dist_id //! It map a global ghost id (g_id) to the external ghost box information std::unordered_map<size_t,size_t> g_id_to_external_ghost_box; - //! - openfpm::vector<conflict_res> - /*! \brief Get the grid size * * Given a domain, the resolution of the grid on it and another spaceBox contained in the domain diff --git a/src/Vector/vector_dist_unit_test.hpp b/src/Vector/vector_dist_unit_test.hpp index d73d720eacccace1bf34fc6fae9091fd98c9970d..a829a298e7cbeba8d0390c3d8c14b9aac966bf75 100644 --- a/src/Vector/vector_dist_unit_test.hpp +++ b/src/Vector/vector_dist_unit_test.hpp @@ -21,6 +21,10 @@ BOOST_AUTO_TEST_CASE( vector_dist_ghost ) typedef Point_test<float> p; typedef Point<2,float> s; + // TODO generalize + if (v_cl.getProcessingUnits() != 4) + return; + Box<2,float> box({0.0,0.0},{1.0,1.0}); size_t g_div[]= {16,16}; @@ -158,6 +162,9 @@ BOOST_AUTO_TEST_CASE( vector_dist_iterator_test_use ) Vcluster & v_cl = *global_v_cluster; + if (v_cl.getProcessingUnits() != 4) + return; + // set the seed // create the random generator engine std::srand(v_cl.getProcessUnitID());