diff options
Diffstat (limited to 'boost/graph/page_rank.hpp')
-rw-r--r-- | boost/graph/page_rank.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/boost/graph/page_rank.hpp b/boost/graph/page_rank.hpp index a8987046d3..1285444936 100644 --- a/boost/graph/page_rank.hpp +++ b/boost/graph/page_rank.hpp @@ -16,6 +16,7 @@ #include <boost/graph/properties.hpp> #include <boost/graph/iteration_macros.hpp> #include <boost/graph/overloading.hpp> +#include <boost/graph/detail/mpi_include.hpp> #include <vector> namespace boost { namespace graph { @@ -154,8 +155,6 @@ remove_dangling_links(MutableGraph& g } } // end namespace boost::graph -#ifdef BOOST_GRAPH_USE_MPI -# include <boost/graph/distributed/page_rank.hpp> -#endif +#include BOOST_GRAPH_MPI_INCLUDE(<boost/graph/distributed/page_rank.hpp>) #endif // BOOST_GRAPH_PAGE_RANK_HPP |