Skip to content

Commit

Permalink
SymmetricIndefiniteLinearSystem: perform the analysis only when the p…
Browse files Browse the repository at this point in the history
…roblem has changed
  • Loading branch information
cvanaret committed Nov 25, 2024
1 parent e932221 commit ddc1589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uno/linear_algebra/SymmetricIndefiniteLinearSystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ namespace uno {
template <typename ElementType>
void SymmetricIndefiniteLinearSystem<ElementType>::factorize_matrix(DirectSymmetricIndefiniteLinearSolver<size_t, ElementType>& linear_solver,
const WarmstartInformation& warmstart_information) {
if (true) {
if (warmstart_information.problem_structure_changed) {
DEBUG << "Performing symbolic factorization of the indefinite system\n";
linear_solver.do_symbolic_factorization(this->matrix);
}
Expand Down

0 comments on commit ddc1589

Please sign in to comment.