Skip to content

Commit 7061eb7

Browse files
committed
save
1 parent 9db254c commit 7061eb7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/module_rdmft/rdmft_tools.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,9 @@ template <typename TK>
105105
void set_zero_psi(psi::Psi<TK>& wfc)
106106
{
107107
TK* pwfc_in = &wfc(0, 0, 0);
108-
109-
#ifdef _OPENMP
108+
#ifdef _OPENMP
110109
#pragma omp parallel for schedule(static, 1024)
111-
#endif
112-
110+
#endif
113111
for(int i=0; i<wfc.size(); ++i) pwfc_in[i] = 0.0;
114112
}
115113

0 commit comments

Comments
 (0)