Skip to content

Commit e0bf037

Browse files
committed
fix a bug cuda cannot be compiled
1 parent d98071b commit e0bf037

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/src_pw/electrons.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ class Electrons: private Threshold_Elec
3030

3131
double delta_total_energy;
3232

33-
// void self_consistent(const int &istep); // It is replaced by ESolver_KS::Run
33+
// It should be replaced by ESolver_KS::Run. GPU still use it temperarily.
34+
void self_consistent(const int &istep);
3435

3536
void non_self_consistent(const int &istep);
3637

0 commit comments

Comments
 (0)