Skip to content

Commit

Permalink
fix norm
Browse files Browse the repository at this point in the history
  • Loading branch information
maki49 committed Jul 12, 2024
1 parent e7a76bd commit bcd8290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/module_lr/lr_spectrum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ void LR::LR_Spectrum<T>::transition_analysis()
ofs << std::setw(8) << (it == abs_order.cbegin() ? std::to_string(istate) : " ")
<< std::setw(20) << ipair / nvirt + 1 << std::setw(20) << ipair % nvirt + nocc + 1// iocc and ivirt
<< std::setw(30) << X_full(ik, ipair)
<< std::setw(30) << (std::conj(X_full(ik, ipair)) * X_full(ik, ipair)).real()
<< std::setw(30) << std::norm(X_full(ik, ipair))
<< std::setw(10) << ik << std::endl;
}
}
Expand Down

0 comments on commit bcd8290

Please sign in to comment.