diff --git a/source/source_lcao/module_operator_lcao/ekinetic.cpp b/source/source_lcao/module_operator_lcao/ekinetic.cpp index 3c50fa2999..993b7d1ea2 100644 --- a/source/source_lcao/module_operator_lcao/ekinetic.cpp +++ b/source/source_lcao/module_operator_lcao/ekinetic.cpp @@ -22,7 +22,6 @@ hamilt::EKinetic>::EKinetic( this->ucell = ucell_in; #ifdef __DEBUG assert(this->ucell != nullptr); - assert(this->hsk != nullptr); #endif // initialize HR to allocate sparse Ekinetic matrix memory // Only initialize if hR_in is not nullptr (for force calculation, hR_in can be nullptr) diff --git a/source/source_lcao/module_operator_lcao/overlap.cpp b/source/source_lcao/module_operator_lcao/overlap.cpp index 5355d0f14d..023b909fa5 100644 --- a/source/source_lcao/module_operator_lcao/overlap.cpp +++ b/source/source_lcao/module_operator_lcao/overlap.cpp @@ -106,7 +106,6 @@ hamilt::Overlap>::Overlap(HS_Matrix_K* hsk_in, this->SR = SR_in; #ifdef __DEBUG assert(this->ucell != nullptr); - assert(this->SR != nullptr); #endif // Initialize SR to allocate sparse overlap matrix memory. // Only initialize if SR_in is not nullptr (for force calculation, SR_in can be nullptr).