From d59c4923697fe583a4312c7a0c42ec872a6b9c10 Mon Sep 17 00:00:00 2001 From: Stefano Zampini Date: Mon, 16 Jan 2023 12:18:09 +0300 Subject: [PATCH] remove NULL --- source/lac/petsc_parallel_block_vector.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lac/petsc_parallel_block_vector.cc b/source/lac/petsc_parallel_block_vector.cc index 88360c6d81..3c7f03831d 100644 --- a/source/lac/petsc_parallel_block_vector.cc +++ b/source/lac/petsc_parallel_block_vector.cc @@ -123,7 +123,7 @@ namespace PETScWrappers PETSC_COMM_SELF; ierr = - VecCreateNest(comm, n, NULL, pcomponents.data(), &petsc_nest_vector); + VecCreateNest(comm, n, nullptr, pcomponents.data(), &petsc_nest_vector); AssertThrow(ierr == 0, ExcPETScError(ierr)); } } // namespace MPI -- 2.39.5