Skip to content

Commit

Permalink
fix for makefull
Browse files Browse the repository at this point in the history
  • Loading branch information
cheshmi committed Aug 2, 2023
1 parent d6b138b commit 8c334ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/sparse_utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ namespace sym_lib {
return nullptr;
}

CSC *Afull = new CSC(A->m, A->n, A->nnz * 2 - A->n);
CSC *Afull = new CSC(A->m, A->n, A->nnz * 2 );
auto ind = new int[A->n]();

for(size_t i = 0; i < A->n; i++) {
Expand Down Expand Up @@ -265,7 +265,7 @@ namespace sym_lib {
}
}
delete[]ind;

Afull->nnz = Afull->p[Afull->n];
return Afull;
}

Expand Down

0 comments on commit 8c334ac

Please sign in to comment.