Advertisement
Guest User

Untitled

a guest
Jan 19th, 2020
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. From 36e61e6b5a5bbc779b89badb79b8e034ed3fc4c4 Mon Sep 17 00:00:00 2001
  2. From: "Lori A. Burns" <lori.burns@gmail.com>
  3. Date: Thu, 3 Oct 2019 19:13:55 -0400
  4. Subject: [PATCH] Update build_libint.cc
  5.  
  6. ---
  7. src/bin/libint/build_libint.cc | 7 ++++++-
  8. 1 file changed, 6 insertions(+), 1 deletion(-)
  9.  
  10. diff --git a/src/bin/libint/build_libint.cc b/src/bin/libint/build_libint.cc
  11. index 1b1da8c..626c651 100644
  12. --- a/src/bin/libint/build_libint.cc
  13. +++ b/src/bin/libint/build_libint.cc
  14. @@ -785,7 +785,12 @@ BOOST_PP_LIST_FOR_EACH ( BOOST_PP_ONEBODY_MCR1, _, BOOST_PP_ONEBODY_TASK_LIST)
  15. }
  16. #else
  17. iface->to_params(iface->macro_define("MAX_AM",LIBINT_MAX_AM));
  18. - iface->to_params(iface->macro_define("MAX_AM_default",LIBINT_MAX_AM));
  19. + for(unsigned int d=0; d<=INCLUDE_ERI; ++d) {
  20. + std::ostringstream oss;
  21. + oss << "MAX_AM_default";
  22. + if (d > 0) oss << d;
  23. + iface->to_params(iface->macro_define(oss.str(),LIBINT_MAX_AM));
  24. + }
  25. #endif
  26. cparams->print(os);
  27.  
  28. --
  29. 2.24.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement