Skip to content

Commit c888d4c

Browse files
style(pre-commit): autofix
1 parent bb3ff0b commit c888d4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

common/osqp_interface/include/osqp_interface/csc_matrix_conv.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ struct OSQP_INTERFACE_PUBLIC CSC_Matrix
4242
{
4343
os << "CSC_Matrix: {\n";
4444
os << "\tm_vals: [";
45-
45+
4646
// Iterator-based loop for m_vals
4747
for (auto it = std::begin(matrix.m_vals); it != std::end(matrix.m_vals); ++it) {
48-
os << *it; // Print the current element (dereference iterator)
49-
if (std::next(it) != std::end(matrix.m_vals)) { // Check if not the last element
48+
os << *it; // Print the current element (dereference iterator)
49+
if (std::next(it) != std::end(matrix.m_vals)) { // Check if not the last element
5050
os << ", ";
5151
}
5252
}
@@ -74,7 +74,7 @@ struct OSQP_INTERFACE_PUBLIC CSC_Matrix
7474

7575
os << "}\n";
7676
return os;
77-
}
77+
}
7878
};
7979

8080
/// \brief Calculate CSC matrix from Eigen matrix

0 commit comments

Comments
 (0)