Skip to content
Open
Show file tree
Hide file tree
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
5 changes: 3 additions & 2 deletions include/libint2/lcao/molden.h
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ class Export {
void initialize_bf_map() {
atom2shell_ = BasisSet::atom2shell(atoms_, basis_);

const auto nao = BasisSet::nbf(basis_);
const auto nao = libint2::nbf(basis_);
ao_map_.resize(nao);
assert(nao == coefs_.rows());
const auto shell2ao = BasisSet::compute_shell2bf(basis_);
Expand Down Expand Up @@ -314,7 +314,8 @@ class Export {
ao_molden += 3;
} else {
FOR_SOLIDHARM_MOLDEN(l, m)
const auto ao_in_shell = libint2::INT_SOLIDHARMINDEX(l, m);
const auto ao_in_shell = libint2::INT_SOLIDHARMINDEX(
libint2::solid_harmonics_ordering(), l, m);
ao_map_[ao_molden++] = ao + ao_in_shell;
END_FOR_SOLIDHARM_MOLDEN
}
Expand Down
2 changes: 1 addition & 1 deletion src/bin/libint/build_libint.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1782,7 +1782,7 @@ void build_R12kG12_2b_2k(std::ostream& os,
#endif // LIBINT_INCLUDE_G12

#ifdef LIBINT_INCLUDE_G12
void build_R12kG12_2b_2k_separate(
[[maybe_unused]] void build_R12kG12_2b_2k_separate(
std::ostream& os, const std::shared_ptr<CompilationParameters>& cparams,
std::shared_ptr<Libint2Iface>& iface) {
// do not support this if the commutator integrals are needed
Expand Down
Loading