]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid errors about undeclared sqrt and fabs
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 6 Oct 2000 14:32:23 +0000 (14:32 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 6 Oct 2000 14:32:23 +0000 (14:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@3398 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-1/step-1.cc

index f2487effbefd861b37594f0c376b0cfe5f3e0e6c..d07d5c5ef7bf35a08e5828a0b2cc3149f4bd921e 100644 (file)
@@ -24,6 +24,9 @@
 
                                  // This is needed for C++ output:
 #include <fstream>
+                                // And this for the declarations of the
+                                // `sqrt' and `fabs' functions:
+#include <cmath>
 
 
 

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.