Skip to content

Commit 0b2a247

Browse files
no nosonar
Signed-off-by: Jerry Guo <[email protected]>
1 parent 4d34594 commit 0b2a247

File tree

1 file changed

+2
-2
lines changed
  • power_grid_model_c/power_grid_model/include/power_grid_model/math_solver

1 file changed

+2
-2
lines changed

power_grid_model_c/power_grid_model/include/power_grid_model/math_solver/y_bus.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ inline void counting_sort_element(std::vector<YBusElementMap>& vec, Idx n_bus) {
5252
counter[i] += counter[i - 1];
5353
}
5454
for (auto it_element = vec.rbegin(); it_element != vec.rend(); ++it_element) {
55-
temp_vec[--counter[it_element->pos.second]] = std::move(*it_element); // NOSONAR
55+
temp_vec[--counter[it_element->pos.second]] = std::move(*it_element);
5656
}
5757

5858
// swap vectors to avoid copying
@@ -67,7 +67,7 @@ inline void counting_sort_element(std::vector<YBusElementMap>& vec, Idx n_bus) {
6767
counter[i] += counter[i - 1];
6868
}
6969
for (auto it_element = vec.rbegin(); it_element != vec.rend(); ++it_element) {
70-
temp_vec[--counter[it_element->pos.first]] = std::move(*it_element); // NOSONAR
70+
temp_vec[--counter[it_element->pos.first]] = std::move(*it_element);
7171
}
7272

7373
// final swap to get result back in vec

0 commit comments

Comments
 (0)