From: Nicolas Barnafi Date: Mon, 4 Jul 2022 15:33:43 +0000 (+0200) Subject: Fixed indentation X-Git-Tag: v9.5.0-rc1~947^2~13^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46edaf99b143963bb52aa6b8cddbd6a36ce26897;p=dealii.git Fixed indentation --- 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);