Skip to content

Commit

Permalink
Removed unused pointers.
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Dafarra committed May 13, 2020
1 parent 32187ac commit 17f207c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/OsqpEigen/SparseMatrixHelper.tpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,9 @@ bool OsqpEigen::SparseMatrixHelper::createOsqpSparseMatrix(const Eigen::SparseCo
c_int numberOfNonZeroCoeff = colMajorCopy.nonZeros();

// get innerr and outer index
const int* innerIndexPtr = colMajorCopy.innerIndexPtr();
const int* outerIndexPtr = colMajorCopy.outerIndexPtr();
const int* innerNonZerosPtr = colMajorCopy.innerNonZeroPtr();

// get nonzero values
auto valuePtr = colMajorCopy.valuePtr();

// instantiate csc matrix
// MEMORY ALLOCATION!!
if(osqpSparseMatrix != nullptr){
Expand Down

0 comments on commit 17f207c

Please sign in to comment.