diff --git a/include/OsqpEigen/SparseMatrixHelper.tpp b/include/OsqpEigen/SparseMatrixHelper.tpp index f112eb3..1de7e55 100644 --- a/include/OsqpEigen/SparseMatrixHelper.tpp +++ b/include/OsqpEigen/SparseMatrixHelper.tpp @@ -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){