Skip to content

Commit

Permalink
reverted previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMingo committed Apr 23, 2024
1 parent 88f48be commit ee2082e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/solvers/OSQPBackEnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ void OSQPBackEnd::setCSCMatrix(csc* a, Eigen::SparseMatrix<double>& A)
a->n = A.cols();
a->nzmax = A.nonZeros();
a->x = A.valuePtr();
a->i = reinterpret_cast<int*>(A.innerIndexPtr());
a->p = reinterpret_cast<int*>(A.outerIndexPtr());
a->i = A.innerIndexPtr();
a->p = A.outerIndexPtr();
}

bool OSQPBackEnd::updateTask(const Eigen::MatrixXd &H, const Eigen::VectorXd &g)
Expand Down

0 comments on commit ee2082e

Please sign in to comment.