diff --git a/source/source_lcao/module_operator_lcao/ekinetic.cpp b/source/source_lcao/module_operator_lcao/ekinetic.cpp index 27a0b169bd7..cd7ae91083f 100644 --- a/source/source_lcao/module_operator_lcao/ekinetic.cpp +++ b/source/source_lcao/module_operator_lcao/ekinetic.cpp @@ -33,7 +33,7 @@ hamilt::EKinetic>::EKinetic( // destructor template -hamilt::EKinetic>::~EKinetic>() +hamilt::EKinetic>::~EKinetic() { if (this->allocated) { diff --git a/source/source_lcao/module_operator_lcao/ekinetic.h b/source/source_lcao/module_operator_lcao/ekinetic.h index 072e5dfc8b2..1a88de4d9d2 100644 --- a/source/source_lcao/module_operator_lcao/ekinetic.h +++ b/source/source_lcao/module_operator_lcao/ekinetic.h @@ -12,9 +12,6 @@ namespace hamilt { -#ifndef __EKINETICTEMPLATE -#define __EKINETICTEMPLATE - /// The EKinetic class template inherits from class T /// it is used to calculate the electronic kinetic /// Template parameters: @@ -25,8 +22,6 @@ class EKinetic : public T { }; -#endif - /// EKinetic class template specialization for OperatorLCAO base class /// It is used to calculate the electronic kinetic matrix in real space and fold it to k-space /// HR = diff --git a/source/source_pw/module_pwdft/op_pw_ekin.h b/source/source_pw/module_pwdft/op_pw_ekin.h index adfb67eb7e0..8fc710034c6 100644 --- a/source/source_pw/module_pwdft/op_pw_ekin.h +++ b/source/source_pw/module_pwdft/op_pw_ekin.h @@ -8,15 +8,7 @@ namespace hamilt { -// Not needed anymore -#ifndef __EKINETICTEMPLATE -#define __EKINETICTEMPLATE - template class Ekinetic : public T {}; -// template -// class Ekinetic : public OperatorPW {}; - -#endif // template // class Ekinetic : public OperatorPW