]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix std::
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 22 Feb 2001 12:38:03 +0000 (12:38 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 22 Feb 2001 12:38:03 +0000 (12:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@4011 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/data_out_base.cc
deal.II/base/source/legendre.cc

index 98b259758a0c48e6e3ffed68336833ce9b5799ab..499a0f2c3b7040de0709fa2903dac143f88529ab 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <iomanip>
 #include <ctime>
-#include <cmath>
+#include <math.h>
 #include <set>
 
 
@@ -892,8 +892,8 @@ void DataOutBase::write_povray (const typename std::vector<Patch<dim,spacedim> >
              ExcInvalidDatasetSize (patch->data.n(), n_subdivisions+1));
 
 
-      vector<Point<spacedim> > ver((n_subdivisions+1)*
-                                  (n_subdivisions+1));
+      std::vector<Point<spacedim> > ver((n_subdivisions+1)*
+                                       (n_subdivisions+1));
       
       for (unsigned int i=0; i<n_subdivisions+1; ++i)
        {
@@ -922,8 +922,8 @@ void DataOutBase::write_povray (const typename std::vector<Patch<dim,spacedim> >
                    {
                                                       // aproximate normal
                                                       // vectors in patch
-                     vector<Point<3> > nrml((n_subdivisions+1)*
-                                            (n_subdivisions+1));
+                     std::vector<Point<3> > nrml((n_subdivisions+1)*
+                                                 (n_subdivisions+1));
                      Point<3> h1,h2;
                      for (unsigned int i=0; i<n_subdivisions+1;++i)
                        {
index 471c57c84d924c1fd6beeb9ff5c4f2159dbd46cb..cc3c975d4445086ec5043b4b1448df08fddeed96 100644 (file)
@@ -128,7 +128,7 @@ Legendre<number>::get_coefficients (const unsigned int k)
                                   // of coefficients. do that in a MT
                                   // safe way
   coefficients_lock.acquire ();
-  const vector<number> *p = coefficients[k];
+  const std::vector<number> *p = coefficients[k];
   coefficients_lock.release ();
 
                                   // return the object pointed

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.