Skip to content

Commit

Permalink
Merge pull request #340 from EricaCMitchell/emultipole_derivs
Browse files Browse the repository at this point in the history
Allow access to Cartesian multipole derivatives
  • Loading branch information
evaleev authored Oct 23, 2024
2 parents 2ca7583 + 2a355c7 commit 7a1a9d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ case $enableval in
;;
esac
])
if test X$DISABLE_ONEBODY_PROPERTY_DERIVS != 0; then
if test $DISABLE_ONEBODY_PROPERTY_DERIVS != 0; then
AC_DEFINE(DISABLE_ONEBODY_PROPERTY_DERIVS)
fi

Expand Down
6 changes: 3 additions & 3 deletions src/bin/libint/build_libint.cc
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ void build_onebody_1b_1k(std::ostream& os, std::string label,
// derivatives of spherical multipole integrals are not implemented
{
if (std::is_same<_OperType, SphericalMultipoleOper>::value &&
deriv_level > 0)
throw std::invalid_argument(
"derivatives of spherical multipole ints are not yet implemented");
deriv_level > 0) return;
// throw std::invalid_argument(
// "derivatives of spherical multipole ints are not yet implemented");
}

//
Expand Down

0 comments on commit 7a1a9d8

Please sign in to comment.