From 71331802bda598506d9fd2d5bcf85c6deff2029d Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 10 Nov 2010 14:43:23 +0000 Subject: [PATCH] Nicer way to initialize pointer. git-svn-id: https://svn.dealii.org/trunk@22672 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/lac/lapack_full_matrix.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/source/lac/lapack_full_matrix.cc b/deal.II/source/lac/lapack_full_matrix.cc index 9dd21c3fe9..5b145fa858 100644 --- a/deal.II/source/lac/lapack_full_matrix.cc +++ b/deal.II/source/lac/lapack_full_matrix.cc @@ -242,8 +242,8 @@ LAPACKFullMatrix::compute_svd() std::fill(wr.begin(), wr.end(), 0.); ipiv.resize(8*mm); - svd_u = std_cxx1x::shared_ptr >(new LAPACKFullMatrix(mm,mm)); - svd_vt = std_cxx1x::shared_ptr >(new LAPACKFullMatrix(nn,nn)); + svd_u.reset (new LAPACKFullMatrix(mm,mm)); + svd_vt.reset (new LAPACKFullMatrix(nn,nn)); number* mu = const_cast (svd_u->data()); number* mvt = const_cast (svd_vt->data()); int info; -- 2.39.5