Skip to content

Commit

Permalink
⚡ Removed unnecessary mutex lock
Browse files Browse the repository at this point in the history
  • Loading branch information
wlambooy committed Jan 15, 2025
1 parent 063975a commit 32c0680
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/fiction/algorithms/simulation/sidb/quicksim.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ sidb_simulation_result<Lyt> quicksim(const Lyt& lyt, const quicksim_params& ps =
for (uint64_t i = 0ul; i < charge_lyt.num_cells(); ++i)
{
{
const std::lock_guard lock{mutex};
if (std::find(negative_sidb_indices.cbegin(), negative_sidb_indices.cend(), i) !=
negative_sidb_indices.cend())
{
Expand Down

0 comments on commit 32c0680

Please sign in to comment.