From 8375a92d58876e4fb8121eda0694914c88a5ea49 Mon Sep 17 00:00:00 2001 From: Laurent Perron Date: Fri, 21 Mar 2025 06:55:06 -0700 Subject: [PATCH] minor fix --- ortools/base/mathutil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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