@@ -31,7 +31,7 @@ bool ModuleIO::read_wfc_nao(
3131 const int nkstot,
3232 const int nspin,
3333 const int skip_band,
34- const int nstep )
34+ const int istep )
3535{
3636 ModuleBase::TITLE (" ModuleIO" , " read_wfc_nao" );
3737 ModuleBase::timer::tick (" ModuleIO" , " read_wfc_nao" );
@@ -158,12 +158,12 @@ bool ModuleIO::read_wfc_nao(
158158 const bool out_app_flag = false ;
159159 std::stringstream error_message;
160160 std::string readin_dir = global_readin_dir;
161- if (nstep >= 0 )
161+ if (istep >= 0 )
162162 {
163163 readin_dir = readin_dir + " WFC/" ;
164164 }
165165 std::string ss = ModuleIO::filename_output (readin_dir," wf" ," nao" ,
166- ik,ik2iktot,nspin,nkstot,out_type,out_app_flag,gamma_only,nstep );
166+ ik,ik2iktot,nspin,nkstot,out_type,out_app_flag,gamma_only,istep );
167167
168168 read_success = read_one_file (ss, error_message, ik, ctot);
169169 errors = error_message.str ();
@@ -211,7 +211,7 @@ template bool ModuleIO::read_wfc_nao<double>(const std::string& global_readin_di
211211 const std::vector<int > &ik2iktot,
212212 const int nkstot,
213213 const int nspin,
214- const int nstep ,
214+ const int istep ,
215215 const int skip_band);
216216
217217template bool ModuleIO::read_wfc_nao<std::complex <double >>(const std::string& global_readin_dir,
@@ -221,5 +221,5 @@ template bool ModuleIO::read_wfc_nao<std::complex<double>>(const std::string& gl
221221 const std::vector<int > &ik2iktot,
222222 const int nkstot,
223223 const int nspin,
224- const int nstep ,
224+ const int istep ,
225225 const int skip_band);
0 commit comments