Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Jul 28, 2024
1 parent ade2213 commit db4375d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/module_hamilt_lcao/module_tddft/evolve_psi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void evolve_psi(const int nband,
int propagator)
{
ModuleBase::TITLE("Evolve_psi", "evolve_psi");
time_t time_start = time(NULL);
time_t time_start = time(nullptr);
GlobalV::ofs_running << " Start Time : " << ctime(&time_start);

#ifdef __MPI
Expand Down Expand Up @@ -98,7 +98,7 @@ void evolve_psi(const int nband,

#endif

time_t time_end = time(NULL);
time_t time_end = time(nullptr);
ModuleBase::GlobalFunc::OUT_TIME("evolve(std::complex)", time_start, time_end);

return;
Expand Down
2 changes: 1 addition & 1 deletion source/module_md/md_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void MD_base::first_half(std::ofstream& ofs)
}


void MD_base::second_half(void)
void MD_base::second_half()
{
update_vel(force);

Expand Down

0 comments on commit db4375d

Please sign in to comment.