We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 965f2f4 commit d448cbeCopy full SHA for d448cbe
ortools/sat/python/cp_model_helper.cc
@@ -295,7 +295,7 @@ LinearExpr* SumArguments(py::args expressions) {
295
}
296
297
298
-LinearExpr* WeightedSumArguments(py::list expressions, py::list coefficients) {
+LinearExpr* WeightedSumArguments(py::sequence expressions, py::sequence coefficients) {
299
if (expressions.size() != coefficients.size()) {
300
ThrowError(PyExc_ValueError,
301
absl::StrCat("LinearExpr::weighted_sum() requires the same "
0 commit comments