Skip to content

Commit 2a03025

Browse files
committedJul 2, 2019
Fix PETSc version number for MatResetPreallocation
1 parent 4494fb8 commit 2a03025

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)
Please sign in to comment.