From bd379bd8827c82ad5f5ed7032677af02af72ec4d Mon Sep 17 00:00:00 2001 From: Mizux Seiha Date: Sat, 22 May 2021 00:59:44 +0200 Subject: [PATCH] Fix techtalk_scheduling.cs compilation --- examples/dotnet/techtalk_scheduling.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dotnet/techtalk_scheduling.cs b/examples/dotnet/techtalk_scheduling.cs index 818e94eaf2..4076684ac7 100644 --- a/examples/dotnet/techtalk_scheduling.cs +++ b/examples/dotnet/techtalk_scheduling.cs @@ -64,7 +64,7 @@ public class SpeakerScheduling matching.AddArcWithCost(dummy, value - first_slot_, 0); } } - if (matching.Solve() == LinearSumAssignment.OPTIMAL && matching.OptimalCost() < large) // No violated arcs. + if (matching.Solve() == LinearSumAssignment.Status.OPTIMAL && matching.OptimalCost() < large) // No violated arcs. { for (int speaker = 0; speaker < number_of_variables; ++speaker) {