mirror of https://github.com/QMCPACK/qmcpack.git
Merge branch 'develop' into fix_spinorset_test
This commit is contained in:
commit
d6cf7bfc87
|
@ -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