From 46edaf99b143963bb52aa6b8cddbd6a36ce26897 Mon Sep 17 00:00:00 2001 From: Nicolas Barnafi Date: Mon, 4 Jul 2022 17:33:43 +0200 Subject: [PATCH] Fixed indentation --- include/deal.II/lac/petsc_sparse_matrix.h | 3 ++- source/lac/petsc_parallel_sparse_matrix.cc | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/include/deal.II/lac/petsc_sparse_matrix.h b/include/deal.II/lac/petsc_sparse_matrix.h index 7a36cbc1e3..5d22aac3ef 100644 --- a/include/deal.II/lac/petsc_sparse_matrix.h +++ b/include/deal.II/lac/petsc_sparse_matrix.h @@ -635,7 +635,8 @@ namespace PETScWrappers const SparsityPatternType &sparsity_pattern); /** - * Same as previous functions, but here we consider active dofs for matrices of IS type. + * Same as previous functions, but here we consider active dofs for + * matrices of IS type. */ template void diff --git a/source/lac/petsc_parallel_sparse_matrix.cc b/source/lac/petsc_parallel_sparse_matrix.cc index 09543ac402..0d65d8e064 100644 --- a/source/lac/petsc_parallel_sparse_matrix.cc +++ b/source/lac/petsc_parallel_sparse_matrix.cc @@ -477,10 +477,11 @@ namespace PETScWrappers // create the local to global mappings as arrays. IndexSet::size_type n_local_active_rows = local_active_rows.n_elements(); - IndexSet::size_type n_local_active_cols = local_active_columns.n_elements(); - std::vector idx_glob_row(n_local_active_rows); - std::vector idx_glob_col(n_local_active_cols); - unsigned int k; + IndexSet::size_type n_local_active_cols = + local_active_columns.n_elements(); + std::vector idx_glob_row(n_local_active_rows); + std::vector idx_glob_col(n_local_active_cols); + unsigned int k; for (k = 0; k < n_local_active_rows; ++k) { idx_glob_row[k] = local_active_rows.nth_index_in_set(k); -- 2.39.5