From de21fd02377f091ee94168e8da8cd847ebada4a4 Mon Sep 17 00:00:00 2001 From: Stefano Zampini Date: Fri, 25 Nov 2022 16:19:07 +0300 Subject: [PATCH] PETScWrappers::MPI::Vector use VectorBase contructor from Vec --- include/deal.II/lac/petsc_vector.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/deal.II/lac/petsc_vector.h b/include/deal.II/lac/petsc_vector.h index 842ec2dee4..520226ba74 100644 --- a/include/deal.II/lac/petsc_vector.h +++ b/include/deal.II/lac/petsc_vector.h @@ -168,6 +168,11 @@ namespace PETScWrappers */ Vector(); + /** + * Import VectorBase constructors, including from a PETSc Vec object. + */ + using VectorBase::VectorBase; + /** * Constructor. Set dimension to @p n and initialize all elements with * zero. -- 2.39.5