Skip to content

Commit

Permalink
fix mutex typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo-Frnr committed Jan 15, 2025
1 parent 51c2ede commit 001759b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/benders/benders_core/BendersBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@ void BendersBase::GetSubproblemCut(SubProblemDataMap &subproblem_data_map) {
SolveSubproblem(subproblem_data_map, subproblem_data, name,
worker);

subproblem_data_map[name] = subproblem_data;
std::lock_guard guard(m);
subproblem_data_map[name] = subproblem_data;
});
},
shouldParallelize());
Expand Down

0 comments on commit 001759b

Please sign in to comment.