Skip to content

Commit 4a74ea0

Browse files
committed
clean useless code
1 parent 35acca1 commit 4a74ea0

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

source/module_hsolver/diago_bpcg.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ DiagoBPCG<T, Device>::DiagoBPCG(const Real* precondition_in)
2727
template<typename T, typename Device>
2828
DiagoBPCG<T, Device>::~DiagoBPCG() {
2929
// Note, we do not need to free the h_prec and psi pointer as they are refs to the outside data
30-
// delete this->grad_wrapper;
3130
}
3231

3332
template<typename T, typename Device>

source/module_hsolver/diago_bpcg.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,6 @@ class DiagoBPCG
319319
*/
320320
bool test_error(const ct::Tensor& err_in, Real thr_in);
321321

322-
// using hpsi_info = typename hamilt::Operator<T, Device>::hpsi_info;
323-
324322
using ct_Device = typename ct::PsiToContainer<Device>::type;
325323
using setmem_var_op = ct::kernels::set_memory<Real, ct_Device>;
326324
using resmem_var_op = ct::kernels::resize_memory<Real, ct_Device>;

0 commit comments

Comments
 (0)