lemon/random.h
changeset 2387 317b9a88c350
parent 2386 81b47fc5c444
child 2391 14a343be7a5a
     1.1 --- a/lemon/random.h	Fri Mar 02 18:04:28 2007 +0000
     1.2 +++ b/lemon/random.h	Sat Mar 03 11:57:07 2007 +0000
     1.3 @@ -308,8 +308,8 @@
     1.4  
     1.5  
     1.6      template <typename Result, typename Word,
     1.7 -              bool one_word = std::numeric_limits<Word>::digits < 
     1.8 -                              std::numeric_limits<Result>::digits>
     1.9 +              bool one_word = (std::numeric_limits<Word>::digits < 
    1.10 +			       std::numeric_limits<Result>::digits) >
    1.11      struct Mapping {
    1.12        static Result map(RandomCore<Word>& rnd, const Result& bound) {
    1.13          Word max = Word(bound - 1);