Skip to content

Commit

Permalink
The BOOST_PP_SUB() does not work in file iterations on some platforms…
Browse files Browse the repository at this point in the history
… / compilers / boost versions. So we don't use it. This seems to fix the issue.
  • Loading branch information
Martin Wolf committed Oct 2, 2014
1 parent a346474 commit 7f9b4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/numpy/dstream/mapping/detail/definition.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ template <class InMapping, unsigned idx>
struct in_mapping_array_select;

#define BOOST_PP_ITERATION_PARAMS_1 \
(4, (0, BOOST_PP_SUB(BOOST_NUMPY_LIMIT_INPUT_ARITY, 1), <boost/numpy/dstream/mapping/detail/definition.hpp>, 3))
(4, (0, BOOST_NUMPY_LIMIT_INPUT_ARITY - 1, <boost/numpy/dstream/mapping/detail/definition.hpp>, 3))
#include BOOST_PP_ITERATE()

template <class InMapping>
Expand Down

0 comments on commit 7f9b4b0

Please sign in to comment.