]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use std_cxx1x::shared_ptr instead of boost::shared_ptr.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 10 Nov 2010 12:21:37 +0000 (12:21 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 10 Nov 2010 12:21:37 +0000 (12:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@22662 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/lapack_full_matrix.h
deal.II/source/lac/lapack_full_matrix.cc

index dfafccc881681cd28a5f2d5e0fa06317264168a0..dff3fec6adabf5747051a9b02a828a4ce5571c57 100644 (file)
@@ -568,14 +568,14 @@ class LAPACKFullMatrix : public TransposeTable<number>
                                      * singular value decomposition
                                      * <i>USV<sup>T</sup></i>.
                                      */
-    boost::shared_ptr<LAPACKFullMatrix<number> > svd_u;
+    std_cxx1x::shared_ptr<LAPACKFullMatrix<number> > svd_u;
                                     /**
                                      * The matrix
                                      * <i>V<sup>T</sup></i> in the
                                      * singular value decomposition
                                      * <i>USV<sup>T</sup></i>.
                                      */
-    boost::shared_ptr<LAPACKFullMatrix<number> > svd_vt;
+    std_cxx1x::shared_ptr<LAPACKFullMatrix<number> > svd_vt;
 };
 
 
index b38af74153b10b71dc0d176d07cb3a87c40d50d4..9dd21c3fe9a48445ab026358b96d52eda203ccfc 100644 (file)
@@ -242,8 +242,8 @@ LAPACKFullMatrix<number>::compute_svd()
   std::fill(wr.begin(), wr.end(), 0.);
   ipiv.resize(8*mm);
   
-  svd_u  = boost::shared_ptr<LAPACKFullMatrix<number> >(new LAPACKFullMatrix<number>(mm,mm));
-  svd_vt = boost::shared_ptr<LAPACKFullMatrix<number> >(new LAPACKFullMatrix<number>(nn,nn));
+  svd_u  = std_cxx1x::shared_ptr<LAPACKFullMatrix<number> >(new LAPACKFullMatrix<number>(mm,mm));
+  svd_vt = std_cxx1x::shared_ptr<LAPACKFullMatrix<number> >(new LAPACKFullMatrix<number>(nn,nn));
   number* mu  = const_cast<number*> (svd_u->data());
   number* mvt = const_cast<number*> (svd_vt->data());
   int info;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.