Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions source/source_lcao/module_lr/utils/exciton_plotter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ std::vector<std::vector<std::complex<double>>> ExcitonPlotter<T>::build_conditio
{
const Complex fixed_wfc = std::conj(
this->orb_eval_
.eval_wfc_bloch<T>(r_fix, ik, io, this->psi_ks_vec[0], this->ucell, this->kv.kvec_d[ik]));
.template eval_wfc_bloch<T>(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;
Expand All @@ -635,12 +635,12 @@ std::vector<std::vector<std::complex<double>>> ExcitonPlotter<T>::build_conditio
{
for (int iv = 0; iv < nvirt; ++iv)
{
const Complex fixed_wfc = this->orb_eval_.eval_wfc_bloch<T>(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<T>(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;
Expand Down
Loading