Skip to content

Commit d448cbe

Browse files
committed
fix
1 parent 965f2f4 commit d448cbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ortools/sat/python/cp_model_helper.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ LinearExpr* SumArguments(py::args expressions) {
295295
}
296296
}
297297

298-
LinearExpr* WeightedSumArguments(py::list expressions, py::list coefficients) {
298+
LinearExpr* WeightedSumArguments(py::sequence expressions, py::sequence coefficients) {
299299
if (expressions.size() != coefficients.size()) {
300300
ThrowError(PyExc_ValueError,
301301
absl::StrCat("LinearExpr::weighted_sum() requires the same "

0 commit comments

Comments
 (0)