Skip to content

Commit 6ba8f64

Browse files
committed
Fix LCAO macro bug
1 parent 27ddcb3 commit 6ba8f64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/source_io/ctrl_output_td.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ void ctrl_output_td(const UnitCell& ucell,
8080
// }
8181
// }
8282

83+
#ifdef __LCAO
8384
// (1) Write dipole information
8485
for (int is = 0; is < PARAM.inp.nspin; ++is)
8586
{
@@ -128,6 +129,7 @@ void ctrl_output_td(const UnitCell& ucell,
128129
}
129130
}
130131
}
132+
#endif // __LCAO
131133
}
132134

133135
template void ctrl_output_td<double>(const UnitCell&,

0 commit comments

Comments
 (0)