From 0c685402f0c210fa81ddc5e5ff52664f40822d8d Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Mon, 22 Jan 2018 13:48:23 +0100 Subject: [PATCH] fix make_unique --- source/lac/scalapack.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.5