Skip to content

Commit

Permalink
fix test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lperron committed Oct 9, 2024
1 parent c402757 commit b55d393
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ortools/sat/work_assignment_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ class SharedTreeSolveTest : public testing::TestWithParam<absl::string_view> {
params.set_num_workers(4);
params.set_shared_tree_num_workers(4);
params.set_cp_model_presolve(false);
params.MergeFrom(SatParameters{
google::protobuf::contrib::parse_proto::ParseTextProtoOrDie(
GetParam())});
const SatParameters to_merge =
google::protobuf::contrib::parse_proto::ParseTextProtoOrDie(GetParam());
params.MergeFrom(to_merge);
return params;
}
};
Expand Down

0 comments on commit b55d393

Please sign in to comment.