]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make it compile.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Thu, 3 May 2001 11:54:16 +0000 (11:54 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Thu, 3 May 2001 11:54:16 +0000 (11:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@4527 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/polynomial_test.cc

index e20f98594f87a855df91292bfeb6a07b04c7bc4b..3e7050672611100a5ee97a68f5cf450d21df4d13 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000 by the deal.II authors
+//    Copyright (C) 2000, 2001 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -118,10 +118,10 @@ int main(int, char)
   deallog << "2D Example:" << std::endl;
   unsigned int p=3,
    n_tensor_pols=(p+1)*(p+1);
-  vector<SmartPointer<Polynomial> > pols;
+  vector<Polynomial<double> > pols;
   
   for (unsigned int i=0; i<=p; ++i)
-    pols.push_back(new LagrangeEquidistant(p, i));
+    pols.push_back(LagrangeEquidistant(p, i));
   
   TensorProductPolynomials<2> tp_pol(pols);
   vector<double> vs(n_tensor_pols);

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.