Skip to content

Commit f3dd9fe

Browse files
authored
Merge pull request #2170 from lindsayad/version-fix
Fix PETSc version number for MatResetPreallocation
2 parents 4494fb8 + 2a03025 commit f3dd9fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/numerics/petsc_matrix.C

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ void PetscMatrix<T>::update_preallocation_and_zero ()
473473
template <typename T>
474474
void PetscMatrix<T>::reset_preallocation()
475475
{
476-
#if !PETSC_VERSION_LESS_THAN(3,8,0)
476+
#if !PETSC_VERSION_LESS_THAN(3,9,0)
477477
libmesh_assert (this->initialized());
478478

479479
auto ierr = MatResetPreallocation(_mat);

0 commit comments

Comments
 (0)