From b66dc3586d91cd00248ac7cc7c6ef75ee49b9911 Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Mon, 21 May 2012 19:44:25 +0000 Subject: [PATCH] Small change to merge in compatibility patch --- tests/testOccupancyGrid.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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)