From de2892e5c065f106e9a874082ddfd4274302be63 Mon Sep 17 00:00:00 2001 From: Simon Sticko Date: Sat, 11 Jul 2015 20:21:54 +0200 Subject: [PATCH] Add sorting to eigenvalues in SolverGMRES The eigenvalues output through the eigenvalues signals was not sorted previously. Add sorting according to internal::SolverGMRES::complex_less_pred. --- include/deal.II/lac/solver_gmres.h | 6 +++--- tests/lac/solver_signals.output | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/deal.II/lac/solver_gmres.h b/include/deal.II/lac/solver_gmres.h index e7fe89d9df..b1410a4dd1 100644 --- a/include/deal.II/lac/solver_gmres.h +++ b/include/deal.II/lac/solver_gmres.h @@ -714,12 +714,12 @@ SolverGMRES::compute_eigs_and_cond( std::vector > eigenvalues(dim); for (unsigned int i=0; i