Merge branch 'develop' into fix_spinorset_test

This commit is contained in:
Paul R. C. Kent 2020-01-28 19:53:11 -05:00 committed by GitHub
commit d6cf7bfc87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -684,6 +684,12 @@ inline void Communicate::bcast(double* restrict x, int n)
MPI_Bcast(x, n, MPI_DOUBLE, 0, myMPI);
}
template<>
inline void Communicate::bcast(std::complex<double>* restrict x, int n)
{
MPI_Bcast(x, 2*n, MPI_DOUBLE, 0, myMPI);
}
template<>
inline void Communicate::bcast(float* restrict x, int n)
{