aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SuperLUSupport
diff options
context:
space:
mode:
authorGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2012-04-15 11:06:28 +0100
committerGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2012-04-15 11:06:28 +0100
commit3c412183b2d4a131239275f440d15677cc5649b0 (patch)
tree42784a65d3ad0cc4fb912032ecdf9059aad5eb7a /Eigen/src/SuperLUSupport
parent84c93b048ecab7c22291503e68c47b6e3264fbb0 (diff)
Get rid of include directives inside namespace blocks (bug #339).
Diffstat (limited to 'Eigen/src/SuperLUSupport')
-rw-r--r--Eigen/src/SuperLUSupport/SuperLUSupport.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Eigen/src/SuperLUSupport/SuperLUSupport.h b/Eigen/src/SuperLUSupport/SuperLUSupport.h
index f72e2cf7e..60a3eb09a 100644
--- a/Eigen/src/SuperLUSupport/SuperLUSupport.h
+++ b/Eigen/src/SuperLUSupport/SuperLUSupport.h
@@ -25,7 +25,9 @@
#ifndef EIGEN_SUPERLUSUPPORT_H
#define EIGEN_SUPERLUSUPPORT_H
-#define DECL_GSSVX(PREFIX,FLOATTYPE,KEYTYPE) \
+namespace Eigen {
+
+#define DECL_GSSVX(PREFIX,FLOATTYPE,KEYTYPE) \
extern "C" { \
typedef struct { FLOATTYPE for_lu; FLOATTYPE total_needed; int expansions; } PREFIX##mem_usage_t; \
extern void PREFIX##gssvx(superlu_options_t *, SuperMatrix *, int *, int *, int *, \
@@ -1031,6 +1033,8 @@ struct sparse_solve_retval<SuperLUBase<_MatrixType,Derived>, Rhs>
}
};
-}
+} // end namespace internal
+
+} // end namespace Eigen
#endif // EIGEN_SUPERLUSUPPORT_H