From 17f207c42f0a1ccc0eac95d4e60bec3d64e5a7f4 Mon Sep 17 00:00:00 2001 From: Stefano Date: Wed, 13 May 2020 18:22:19 +0200 Subject: [PATCH] Removed unused pointers. --- include/OsqpEigen/SparseMatrixHelper.tpp | 4 ---- 1 file changed, 4 deletions(-) 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){