Commit 98732dfe authored by Pietro Incardona's avatar Pietro Incardona

Fixing

parent 6f7853f3
...@@ -1062,7 +1062,7 @@ public: ...@@ -1062,7 +1062,7 @@ public:
* *
*/ */
vector_dist_comm(Decomposition && dec) vector_dist_comm(Decomposition && dec)
:v_cl(create_vcluster),dec(dec) :v_cl(create_vcluster()),dec(dec)
{ {
} }
......
...@@ -1676,7 +1676,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_ghost_put ) ...@@ -1676,7 +1676,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_ghost_put )
while (it3.isNext()) while (it3.isNext())
{ {
float constant2 = vd.getProp<0>(it3.get()); float constant2 = vd.getProp<0>(it3.get());
if (fabs((constant - constant2)/constant > eps)) if (fabs(constant - constant2)/constant > eps)
{ {
std::cout << Point<3,float>(vd.getPos(it3.get())).toString() << " " << constant2 << "/" << constant << " " << v_cl.getProcessUnitID() << std::endl; std::cout << Point<3,float>(vd.getPos(it3.get())).toString() << " " << constant2 << "/" << constant << " " << v_cl.getProcessUnitID() << std::endl;
ret = false; ret = false;
......
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