Skip to content

Commit f2ea839

Browse files
authored
Merge branch 'develop' into fft10
2 parents 7cc5469 + 249a7d1 commit f2ea839

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

source/module_io/write_wfc_nao.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ void write_wfc_nao(const int out_type,
298298
{
299299
std::string fn = PARAM.globalv.global_out_dir + wfc_nao_gen_fname(out_type, gamma_only, PARAM.inp.out_app_flag, ik, istep);
300300
bool append_flag = (istep > 0 && PARAM.inp.out_app_flag);
301-
std::cout << "append_flag = " << append_flag << std::endl;
302301
if (std::is_same<double, T>::value)
303302
{
304303
wfc_nao_write2file(fn,

source/module_ri/RI_2D_Comm.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,6 @@ void RI_2D_Comm::add_HexxR(
263263
cell_nearest->get_cell_nearest_discrete(iat0, iat1, cell)
264264
: cell));
265265
hamilt::BaseMatrix<TR>* HlocR = hR.find_matrix(iat0, iat1, R.x, R.y, R.z);
266-
if (HlocR == nullptr)
267-
{ // add R to HContainer
268-
hamilt::AtomPair<TR> tmp(iat0, iat1, R.x, R.y, R.z, &pv);
269-
hR.insert_pair(tmp);
270-
HlocR = hR.find_matrix(iat0, iat1, R.x, R.y, R.z);
271-
}
272266
auto row_indexes = pv.get_indexes_row(iat0);
273267
auto col_indexes = pv.get_indexes_col(iat1);
274268
const RI::Tensor<Tdata>& HexxR = (Tdata)alpha * Hs_tmpB.second;

0 commit comments

Comments
 (0)