]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add QGauss<0>::QGauss to avoid some linker failures.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 27 May 2005 13:22:16 +0000 (13:22 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 27 May 2005 13:22:16 +0000 (13:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@10768 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/quadrature_lib.cc

index 5975496da33899fc8763615a48e8da1a007716b8..c466a2f9f0dc5a3a536beb60554ec7d60200e36c 100644 (file)
@@ -32,6 +32,20 @@ number abs (const number a)
 }
 
 
+
+template <>
+QGauss<0>::QGauss (const unsigned int)
+                :
+                Quadrature<0> (0)
+{
+                                   // this function has to be provided to
+                                   // avoid certain linker failures, but it
+                                   // should never be called
+  Assert (false, ExcInternalError());
+}
+
+
+
 template <>
 QGauss<1>::QGauss (const unsigned int n)
                 :

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.