From: Timo Heister Date: Wed, 27 Aug 2014 15:14:57 +0000 (-0400) Subject: Fix compilation of Vector when configured with PETSc X-Git-Tag: v8.2.0-rc1~173^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaa8e2e670d0c7d9c31cb22e742b516938963e82;p=dealii.git Fix compilation of Vector when configured with PETSc this was introduced in e5f7ade --- diff --git a/include/deal.II/lac/vector.templates.h b/include/deal.II/lac/vector.templates.h index 80275ae3f2..f7a21e851e 100644 --- a/include/deal.II/lac/vector.templates.h +++ b/include/deal.II/lac/vector.templates.h @@ -499,7 +499,7 @@ Vector::Vector (const PETScWrappers::Vector &v) { if (vec_size != 0) { - iniatilize_val(max_vec_size); + allocate(max_vec_size); Assert (val != 0, ExcOutOfMemory()); // get a representation of the vector