boostorg / random

Boost.org random module
http://boost.org/libs/random
34 stars 68 forks source link

clang-diagnostic-tautological-overlap-compare #65

Closed crazyhappygame closed 4 years ago

crazyhappygame commented 4 years ago
boost/random/linear_congruential.hpp:140:20: error: overlapping comparisons always evaluate to false [clang-diagnostic-tautological-overlap-compare,-warnings-as-errors]
        if(_x <= 0 && _x != 0) {
crazyhappygame commented 4 years ago

Could you merge it?