Skip to content

Commit 519a22d

Browse files
authored
Update solve_propagation.cpp
1 parent 4d6c1e0 commit 519a22d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/module_hamilt_lcao/module_tddft/solve_propagation.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
namespace module_tddft
99
{
10+
#ifdef __MPI
1011
void solve_propagation(const Parallel_Orbitals* pv,
1112
const int nband,
1213
const int nlocal,
@@ -106,4 +107,5 @@ void solve_propagation(const Parallel_Orbitals* pv,
106107
delete []operator_A;
107108
delete []operator_B;
108109
}
109-
} // namespace module_tddft
110+
#endif // __MPI
111+
} // namespace module_tddft

0 commit comments

Comments
 (0)