From 47870395a81ce0639ca2c886135d4d418ac3bbec Mon Sep 17 00:00:00 2001 From: David Wells Date: Tue, 12 Jul 2016 17:00:16 -0400 Subject: [PATCH] Fix two warnings with an older PETSc versions. --- source/lac/petsc_parallel_sparse_matrix.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/lac/petsc_parallel_sparse_matrix.cc b/source/lac/petsc_parallel_sparse_matrix.cc index 7d3897a940..aaf27a8ddb 100644 --- a/source/lac/petsc_parallel_sparse_matrix.cc +++ b/source/lac/petsc_parallel_sparse_matrix.cc @@ -770,6 +770,7 @@ namespace PETScWrappers { #if DEAL_II_PETSC_VERSION_LT(3,3,0) Assert(false,ExcNotImplemented()); + return IndexSet(); #else PetscInt n_rows, n_cols, n_loc_rows, n_loc_cols, min, max; PetscErrorCode ierr; @@ -798,6 +799,7 @@ namespace PETScWrappers { #if DEAL_II_PETSC_VERSION_LT(3,3,0) Assert(false,ExcNotImplemented()); + return IndexSet(); #else PetscInt n_rows, n_cols, n_loc_rows, n_loc_cols, min, max; PetscErrorCode ierr; -- 2.39.5