From: Stefano Zampini Date: Fri, 25 Nov 2022 13:19:07 +0000 (+0300) Subject: PETScWrappers::MPI::Vector use VectorBase contructor from Vec X-Git-Tag: v9.5.0-rc1~644^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de21fd02377f091ee94168e8da8cd847ebada4a4;p=dealii.git PETScWrappers::MPI::Vector use VectorBase contructor from Vec --- 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.