mirror of https://github.com/QMCPACK/qmcpack.git
Fix for missing bcast specialization.
Needed in complex builds. For issue #2246
This commit is contained in:
parent
858d656243
commit
3b7433f707
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue