]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make sqr inline.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 29 Jul 2004 12:56:02 +0000 (12:56 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 29 Jul 2004 12:56:02 +0000 (12:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@9533 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/derivative_approximation.cc

index 71005d19da0ee77000e80efe81a4879da971c06c..202f0f0b6fd7201e74da9f1f5ca58ab9152e796f 100644 (file)
@@ -32,7 +32,7 @@
 
 
 template <typename T>
-static T sqr (const T t)
+static inline T sqr (const T t)
 {
   return t*t;
 }

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.