Skip to content

Commit

Permalink
fix code smells
Browse files Browse the repository at this point in the history
Signed-off-by: Martijn Govers <[email protected]>
  • Loading branch information
mgovers committed Feb 8, 2024
1 parent a6ac10d commit 05c8b68
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -459,9 +459,9 @@ template <bool sym> class NewtonRaphsonSESolver {
/// @brief Fill Q^T(j,i) of LHS(i, j) from the Q(j, i) of LHS(j, i).
///
/// @param y_bus
void fill_qt(YBus<sym> const& y_bus) {
void fill_qt(YBus<sym> const& y_bus) const {
iterate_matrix_skip_fills(
[this](Idx /* row */, Idx /* col */, Idx data_idx, Idx data_idx_transpose) const {
[this](Idx /* row */, Idx /* col */, Idx data_idx, Idx data_idx_transpose) {
auto& block = data_gain_[data_idx];

block.qt_P_theta() = data_gain_[data_idx_transpose].q_P_theta();
Expand Down

0 comments on commit 05c8b68

Please sign in to comment.