From 330c6db3cb56f6ffc032f3f795f0bf8c043a2fee Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Mon, 16 Nov 2009 23:38:21 +0000 Subject: [PATCH] Fix min/max problems [SVN r57717] --- include/boost/random/linear_congruential.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/random/linear_congruential.hpp b/include/boost/random/linear_congruential.hpp index d9c0ff6..1303189 100644 --- a/include/boost/random/linear_congruential.hpp +++ b/include/boost/random/linear_congruential.hpp @@ -86,8 +86,8 @@ public: if(increment == 0 && _x == 0) { _x = 1; } - assert(_x >= min()); - assert(_x <= max()); + assert(_x >= (min)()); + assert(_x <= (max)()); } template