Skip to content

Commit

Permalink
clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoomen committed Jan 22, 2025
1 parent 8f5fcb3 commit 946e148
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trajopt_sco/src/osqp_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ bool OSQPModel::updateConstraints()

void OSQPModel::createOrUpdateSolver()
{
bool P_sparsity_equal = updateObjective();
bool A_sparsity_equal = updateConstraints();
const bool P_sparsity_equal = updateObjective();
const bool A_sparsity_equal = updateConstraints();

// If sparsity did not change, update data, otherwise cleanup and setup
bool need_setup = true;
Expand Down

0 comments on commit 946e148

Please sign in to comment.