diff --git a/tests/testOccupancyGrid.cpp b/tests/testOccupancyGrid.cpp index 542c144f4..35f2df3d8 100644 --- a/tests/testOccupancyGrid.cpp +++ b/tests/testOccupancyGrid.cpp @@ -10,7 +10,8 @@ #include #include #include -#include +//#include // FIXME: does not exist in boost 1.46 +#include // Old header - should still exist #include #include @@ -225,9 +226,9 @@ public: size_t size = cellCount(); Marginals marginals(size); - boost::random::mt19937 rng; - boost::random::uniform_int_distribution random_cell(0,size-1); - + // NOTE: using older interface for boost.random due to interface changes after boost 1.46 + boost::mt19937 rng; + boost::uniform_int random_cell(0,size-1); // run Metropolis for the requested number of operations // compute initial probability of occupancy grid, P(x_t)