Skip to content

Commit

Permalink
Update src/newton_solver.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Fabian Fröhlich <fabian.frohlich@crick.ac.uk>
  • Loading branch information
dweindl and FFroehlich authored Oct 3, 2024
1 parent 12ee3eb commit 9060eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/newton_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void NewtonSolver::solveLinearSystem(AmiVector& rhs) {
}

void NewtonSolver::reinitialize() {
// dense solver does not need reinitialization
// direct solvers does not need reinitialization
if (auto s = dynamic_cast<SUNLinSolKLU*>(linsol_.get())) {
try {
s->reInit(s->getMatrix().capacity(), SUNKLU_REINIT_PARTIAL);
Expand Down

0 comments on commit 9060eae

Please sign in to comment.