Skip to content

Commit

Permalink
Remove deprecated call
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Perron committed Jun 30, 2019
1 parent fdb9e08 commit a880c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ortools/sat/samples/BinPackingProblemSat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static void Main()
{
tmp[i] = x[i, b];
}
model.Add(load[b] == tmp.ScalProd(sizes));
model.Add(load[b] == LinearExpr.ScalProd(tmp, sizes);
}

// Place all items.
Expand Down

0 comments on commit a880c34

Please sign in to comment.