From: Denis Davydov Date: Mon, 22 Jan 2018 12:48:23 +0000 (+0100) Subject: fix make_unique X-Git-Tag: v9.0.0-rc1~543^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c685402f0c210fa81ddc5e5ff52664f40822d8d;p=dealii.git fix make_unique --- diff --git a/source/lac/scalapack.cc b/source/lac/scalapack.cc index 15c85da517..174cd0a830 100644 --- a/source/lac/scalapack.cc +++ b/source/lac/scalapack.cc @@ -18,6 +18,8 @@ #ifdef DEAL_II_WITH_SCALAPACK +#include + #include #include #include @@ -379,8 +381,8 @@ ScaLAPACKMatrix::eigenpairs_symmetric(const bool compute_eigenvector // if computation of eigenvectors is not required use a sufficiently small distributed matrix std::unique_ptr> eigenvectors = compute_eigenvectors ? - std::make_unique>(n_rows,grid,row_block_size) : - std::make_unique>(grid->n_process_rows,grid->n_process_columns,grid,1,1); + std_cxx14::make_unique>(n_rows,grid,row_block_size) : + std_cxx14::make_unique>(grid->n_process_rows,grid->n_process_columns,grid,1,1); eigenvectors->property = property; // number of eigenvalues to be returned; upon successful exit ev contains the m seclected eigenvalues in ascending order