Skip to content

Commit a22d396

Browse files
Fix
1 parent 2ef53b7 commit a22d396

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/module_cell/klist.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ class K_Vectors
308308
* @return this->ik2iktot[ik]
309309
*/
310310
void cal_ik_global();
311-
311+
#ifdef __MPI
312312
friend void KVectorUtils::kvec_mpi_k(K_Vectors& kvec);
313+
#endif
313314
};
314315
#endif // KVECT_H

0 commit comments

Comments
 (0)