From ade2213d79b1b2f1971ca250facbcb3eabb76f02 Mon Sep 17 00:00:00 2001 From: YuLiu98 Date: Sun, 28 Jul 2024 21:12:08 +0800 Subject: [PATCH] Fix: fix dt type in tddft --- source/module_hamilt_lcao/module_tddft/propagator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/module_hamilt_lcao/module_tddft/propagator.h b/source/module_hamilt_lcao/module_tddft/propagator.h index 2fa8c25965..c827fc96b2 100644 --- a/source/module_hamilt_lcao/module_tddft/propagator.h +++ b/source/module_hamilt_lcao/module_tddft/propagator.h @@ -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; @@ -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