diff --git a/src/comm.cpp b/src/comm.cpp index 0e5479cc46..49dfbaec57 100644 --- a/src/comm.cpp +++ b/src/comm.cpp @@ -889,8 +889,8 @@ void Comm::exchange() borders: list nearby atoms to send to neighboring procs at every timestep one list is created for every swap that will be made as list is made, actually do swaps - this does equivalent of a communicate (so don't need to explicitly - call communicate routine on reneighboring timestep) + this does equivalent of a communicate, so don't need to explicitly + call communicate routine on reneighboring timestep this routine is called before every reneighboring for triclinic, atoms must be in lamda coords (0-1) before borders is called ------------------------------------------------------------------------- */ diff --git a/src/kspace.h b/src/kspace.h index 1110269a6f..2d9eb016ee 100644 --- a/src/kspace.h +++ b/src/kspace.h @@ -69,9 +69,9 @@ class KSpace : protected Pointers { virtual void compute(int, int) = 0; virtual void compute_group_group(int, int, int) {}; - virtual int pack_forward(int, FFT_SCALAR *, int, int *) {return 0;}; + virtual void pack_forward(int, FFT_SCALAR *, int, int *) {}; virtual void unpack_forward(int, FFT_SCALAR *, int, int *) {}; - virtual int pack_reverse(int, FFT_SCALAR *, int, int *) {return 0;}; + virtual void pack_reverse(int, FFT_SCALAR *, int, int *) {}; virtual void unpack_reverse(int, FFT_SCALAR *, int, int *) {}; virtual int timing(int, double &, double &) {return 0;}