Skip to content

Commit

Permalink
can configure with --with-eri3-max-am=12 and --with-eri2-max-am=12
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitij-05 committed Feb 22, 2024
1 parent 7f2bbd7 commit cbe5144
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ AS_HELP_STRING([--with-eri3-max-am=N],[Support 3-center ERIs for Gaussians of an
else
ERI3_MAX_AM=$withval
fi
if test $ERI3_MAX_AM -ge $LIBINT_HARD_MAX_AM; then
if test $ERI3_MAX_AM -gt $LIBINT_HARD_MAX_AM; then
AC_MSG_ERROR([Value for --with-eri3-max-am too high ($withval). Are you sure you know what you are doing?])
fi
AC_SUBST(ERI3_MAX_AM)
Expand Down Expand Up @@ -599,7 +599,7 @@ AS_HELP_STRING([--with-eri2-max-am=N],[Support 2-center ERIs for Gaussians of an
else
ERI2_MAX_AM=$withval
fi
if test $ERI2_MAX_AM -ge $LIBINT_HARD_MAX_AM; then
if test $ERI2_MAX_AM -gt $LIBINT_HARD_MAX_AM; then
AC_MSG_ERROR([Value for --with-eri2-max-am too high ($withval). Are you sure you know what you are doing?])
fi
AC_SUBST(ERI2_MAX_AM)
Expand Down

0 comments on commit cbe5144

Please sign in to comment.