mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
fix deprecated
This commit is contained in:
parent
6b36a2d9d8
commit
25df08f7a4
@ -270,7 +270,8 @@ namespace netgen
|
||||
inline void MyMPI_Bcast (NgArray<T, 0> & s, NgMPI_Comm comm)
|
||||
{
|
||||
int size = s.Size();
|
||||
MyMPI_Bcast (size, comm);
|
||||
// MyMPI_Bcast (size, comm);
|
||||
comm.Bcast(size);
|
||||
// if (MyMPI_GetId(comm) != 0) s.SetSize (size);
|
||||
if (comm.Rank() != 0) s.SetSize (size);
|
||||
MPI_Bcast (&s[0], size, GetMPIType<T>(), 0, comm);
|
||||
|
Loading…
Reference in New Issue
Block a user