]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Do not use "using namespace dealii;" at the top of the file since this affects
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Oct 2009 05:41:43 +0000 (05:41 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Oct 2009 05:41:43 +0000 (05:41 +0000)
everyone who includes this header file. That's not the intent...

git-svn-id: https://svn.dealii.org/trunk@20009 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/lapack_templates.h

index a9646ab06986b7c8474b89c4c5d830b15b75f79a..ea67a684c4b80037861d1645a026554b263b7e28 100644 (file)
 #ifndef __LAPACK_TEMPLATES_H
 #define __LAPACK_TEMPLATES_H
 
+#include <base/config.h>
 #include <lac/lapack_support.h>
 
-using namespace dealii;
-
 extern "C"
 {
 // vector update of the form y += alpha*x with a scalar, x,y vectors
@@ -171,6 +170,7 @@ void sstev_ (const char* jobz, const int* n,
 }
 
 
+DEAL_II_NAMESPACE_OPEN
 
 #ifdef HAVE_DAXPY_
 inline void
@@ -621,5 +621,6 @@ stev (const char*, const int*, float*, float*, float*, const int*, float*, int*)
 }
 #endif
 
+DEAL_II_NAMESPACE_CLOSE
 
 #endif

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.