Skip to content

Commit 2088b81

Browse files
committed
Tests: add the template disambiguator for dependent names for bpcg tests
1 parent 2d21ef9 commit 2088b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_hsolver/diago_bpcg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ void DiagoBPCG<T, Device>::diag(
304304
syncmem_complex_op()(this->grad_old.template data<T>(), this->grad.template data<T>(), n_basis * n_band);
305305

306306
// Calculate H|grad> matrix
307-
this->calc_hpsi_with_block(hpsi_func, this->grad.data<T>(), /*this->grad_wrapper[0],*/ this->hgrad);
307+
this->calc_hpsi_with_block(hpsi_func, this->grad.template data<T>(), /*this->grad_wrapper[0],*/ this->hgrad);
308308

309309
// optimize psi as well as the hpsi
310310
// 1. normalize grad

0 commit comments

Comments
 (0)