Skip to content
Snippets Groups Projects
Commit f7b4ddf9 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing test for medium scale

parent de25e02e
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ struct ModelSquare
template<typename Decomposition, typename vector> inline void addComputation(Decomposition & dec, const vector & vd, size_t v, size_t p)
{
dec.addComputationCost(v, 1);
dec.addComputationCost(v, factor);
}
template<typename Decomposition> inline void applyModel(Decomposition & dec, size_t v)
......
......@@ -43,6 +43,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_dlb_test_part )
vd.ghost_get<>();
ModelSquare md;
md.factor = 10;
vd.addComputationCosts(md);
vd.getDecomposition().decompose();
vd.map();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment