[CP-SAT] missing std includes; fix bug in work sharing

This commit is contained in:
Laurent Perron
2024-11-24 18:36:01 +01:00
parent 7fee34194e
commit 4db23df64a
8 changed files with 29 additions and 15 deletions

View File

@@ -562,7 +562,7 @@ TEST(SharedTreeManagerTest, TrailSharing) {
trail1.AddImplication(1, ProtoLiteral(1, 1));
trail1.AddImplication(1, ProtoLiteral(1, 3));
shared_tree_manager->SyncTree(trail1);
trail1.SetPhase(ProtoLiteral(2, 1));
trail1.AddPhase(ProtoLiteral(2, 1));
shared_tree_manager->ReplaceTree(trail1);
shared_tree_manager->ReplaceTree(trail2);