diff --git a/source/source_lcao/module_lr/utils/exciton_plotter.cpp b/source/source_lcao/module_lr/utils/exciton_plotter.cpp index 5c121507d2..6bcfa64794 100644 --- a/source/source_lcao/module_lr/utils/exciton_plotter.cpp +++ b/source/source_lcao/module_lr/utils/exciton_plotter.cpp @@ -624,7 +624,7 @@ std::vector>> ExcitonPlotter::build_conditio { const Complex fixed_wfc = std::conj( this->orb_eval_ - .eval_wfc_bloch(r_fix, ik, io, this->psi_ks_vec[0], this->ucell, this->kv.kvec_d[ik])); + .template eval_wfc_bloch(r_fix, ik, io, this->psi_ks_vec[0], this->ucell, this->kv.kvec_d[ik])); for (int iv = 0; iv < nvirt; ++iv) { mixing[ik][iv] += this->X[offset_b + x_start + iv + io * nvirt] * fixed_wfc; @@ -635,12 +635,12 @@ std::vector>> ExcitonPlotter::build_conditio { for (int iv = 0; iv < nvirt; ++iv) { - const Complex fixed_wfc = this->orb_eval_.eval_wfc_bloch(r_fix, - ik, - nocc + iv, - this->psi_ks_vec[0], - this->ucell, - this->kv.kvec_d[ik]); + const Complex fixed_wfc = this->orb_eval_.template eval_wfc_bloch(r_fix, + ik, + nocc + iv, + this->psi_ks_vec[0], + this->ucell, + this->kv.kvec_d[ik]); for (int io = 0; io < nocc; ++io) { mixing[ik][io] += this->X[offset_b + x_start + iv + io * nvirt] * fixed_wfc;