Commit ed70ab27 authored by incardon's avatar incardon

Fixing map, latest version

parent 9fb95653
......@@ -681,7 +681,7 @@ public:
{
for (size_t k = 0; k < m_oGrid_recv.get(a).size(); k++)
{
device_grid g = m_oGrid_recv.get(a).template get<0>(k);
device_grid & g = m_oGrid_recv.get(a).template get<0>(k);
SpaceBox<dim,long int> b = m_oGrid_recv.get(a).template get<1>(k);
......
......@@ -103,6 +103,12 @@ void test_vector_grid_dlb()
check &= gdist.template get<1>(p) == gkey.get(1);
check &= gdist.template get<2>(p) == gkey.get(2);
if (check == false)
{
int debug = 0;
debug++;
}
++it;
}
......@@ -145,6 +151,7 @@ BOOST_AUTO_TEST_CASE( grid_dist_dlb_test )
test_vector_grid_dlb<grid_sparse,particles>();
}
BOOST_AUTO_TEST_SUITE_END()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment