]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove NULL
authorStefano Zampini <stefano.zampini@gmail.com>
Mon, 16 Jan 2023 09:18:09 +0000 (12:18 +0300)
committerStefano Zampini <stefano.zampini@gmail.com>
Sun, 22 Jan 2023 11:03:03 +0000 (14:03 +0300)
source/lac/petsc_parallel_block_vector.cc

index 88360c6d8188f3bfb2cb91a7024dcd3dc2fd38d0..3c7f03831d0a9bc17b9b93dfbb09e023926877b5 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.