]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Missing header added
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 9 Jul 2002 11:38:00 +0000 (11:38 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 9 Jul 2002 11:38:00 +0000 (11:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@6237 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/legendre.cc

index 1670bc8b3c1baf7e86702a391bd56c548e41705d..83bd1ee069c8e78f1e80c3c1ebaebb601b33cb39 100644 (file)
@@ -15,6 +15,8 @@
 #include <base/polynomial.h>
 #include <base/thread_management.h>
 
+#include <cmath>
+
 //TODO:[?] This class leaks memory, but only at the very end of a program.
 // Since it expands the Legendre<number>::coefficients array, the elements
 // of this static variable are not destroyed at the end of the program
@@ -23,9 +25,6 @@
 // a memory checked such as "purify". Maybe, this should be handled somehow
 // to avoid this confusion in future.
 
-//TODO:[GK] These polynomials are orthogonal on [-1,1], but the
-//integral over p^2 is not 1. Find out if this is ok.
-
 // Reserve space for polynomials up to degree 19. Should be sufficient
 // for the start.
 template <typename number>

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.