Skip to content

Commit

Permalink
Fix: fix dt type in tddft
Browse files Browse the repository at this point in the history
  • Loading branch information
YuLiu98 committed Jul 28, 2024
1 parent 4052334 commit ade2213
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/module_hamilt_lcao/module_tddft/propagator.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace module_tddft
class Propagator
{
public:
Propagator(const int ptype, const Parallel_Orbitals* pv, const int& dt)
Propagator(const int ptype, const Parallel_Orbitals* pv, const double& dt)
{
this->ptype = ptype;
this->ParaV = pv;
Expand Down Expand Up @@ -46,7 +46,7 @@ class Propagator
private:
int ptype; // type of propagator
const Parallel_Orbitals* ParaV;
int dt; // time step
double dt; // time step

#ifdef __MPI

Expand Down

0 comments on commit ade2213

Please sign in to comment.