diff --git a/ortools/base/mathutil.cc b/ortools/base/mathutil.cc index d3d8a87117..cc8289483c 100644 --- a/ortools/base/mathutil.cc +++ b/ortools/base/mathutil.cc @@ -32,7 +32,7 @@ double MathUtil::Stirling(double n) { double MathUtil::LogCombinations(int n, int k) { CHECK_GE(n, k); - CHECK_GT(n, 0); + CHECK_GE(n, 0); CHECK_GE(k, 0); // use symmetry to pick the shorter calculation