Skip to content

Commit

Permalink
added missing BOOST_PP_STRINGIZE in boost pp stuff in build_libint
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev authored and loriab committed Oct 12, 2023
1 parent e39bdc2 commit 667bf42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bin/libint/build_libint.cc
Original file line number Diff line number Diff line change
Expand Up @@ -578,23 +578,23 @@ BOOST_PP_LIST_FOR_EACH ( BOOST_PP_ONEBODY_MCR1, _, BOOST_PP_ONEBODY_TASK_LIST)

#if defined(ONEBODY_MAX_AM_LIST)
# define BOOST_PP_ONEBODY_MCR2(r,data,elem) \
cparams->max_am( task_label(elem, d), token<unsigned int>(ONEBODY_MAX_AM_LIST,',',d));
cparams->max_am( task_label(BOOST_PP_STRINGIZE(elem), d), token<unsigned int>(ONEBODY_MAX_AM_LIST,',',d));
BOOST_PP_LIST_FOR_EACH ( BOOST_PP_ONEBODY_MCR2, _, BOOST_PP_ONEBODY_TASK_LIST)
# undef BOOST_PP_ONEBODY_MCR2
#elif defined(ONEBODY_MAX_AM)
# define BOOST_PP_ONEBODY_MCR3(r,data,elem) \
cparams->max_am( task_label(elem, d), ONEBODY_MAX_AM);
cparams->max_am( task_label(BOOST_PP_STRINGIZE(elem), d), ONEBODY_MAX_AM);
BOOST_PP_LIST_FOR_EACH ( BOOST_PP_ONEBODY_MCR3, _, BOOST_PP_ONEBODY_TASK_LIST)
# undef BOOST_PP_ONEBODY_MCR3
#endif
#if defined(ONEBODY_OPT_AM_LIST)
# define BOOST_PP_ONEBODY_MCR4(r,data,elem) \
cparams->max_am_opt( task_label(elem, d) ,token<unsigned int>(ONEBODY_OPT_AM_LIST,',',d));
cparams->max_am_opt( task_label(BOOST_PP_STRINGIZE(elem), d) ,token<unsigned int>(ONEBODY_OPT_AM_LIST,',',d));
BOOST_PP_LIST_FOR_EACH ( BOOST_PP_ONEBODY_MCR4, _, BOOST_PP_ONEBODY_TASK_LIST)
# undef BOOST_PP_ONEBODY_MCR4
#elif defined(ONEBODY_OPT_AM)
# define BOOST_PP_ONEBODY_MCR5(r,data,elem) \
cparams->max_am_opt( task_label(elem, d) , ONEBODY_OPT_AM);
cparams->max_am_opt( task_label(BOOST_PP_STRINGIZE(elem), d) , ONEBODY_OPT_AM);
BOOST_PP_LIST_FOR_EACH ( BOOST_PP_ONEBODY_MCR5, _, BOOST_PP_ONEBODY_TASK_LIST)
# undef BOOST_PP_ONEBODY_MCR5
#endif
Expand Down

0 comments on commit 667bf42

Please sign in to comment.