From: David Wells Date: Tue, 12 Jul 2016 21:00:16 +0000 (-0400) Subject: Fix two warnings with an older PETSc versions. X-Git-Tag: v8.5.0-rc1~872^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47870395a81ce0639ca2c886135d4d418ac3bbec;p=dealii.git Fix two warnings with an older PETSc versions. --- 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;