3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 19:23:45 +01:00

Fix 2cca958 for gcc 4.6

- forgot a type...
This commit is contained in:
Olivier Parcollet 2013-09-13 20:26:46 +02:00
parent 5fe1ebcc3b
commit 7607d3963d

View File

@ -76,7 +76,7 @@ int main(int argc, char* argv[]) {
mpi::reduce_in_place_v (world, x,y,C);
// more complex object
auto ca = array< array<int,1>, 1 > { array<int,1>{1,2}, {3,4}};
auto ca = array< array<int,1>, 1 > { array<int,1>{1,2}, array<int,1>{3,4}};
auto cC = ca;
mpi::reduce_in_place (world, cC);
if (world.rank() ==0) std::cout<<" cC = "<<cC<< std::endl;