aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/ConditionEstimator.h
diff options
context:
space:
mode:
authorGravatar Rasmus Munk Larsen <rmlarsen@google.com>2016-04-01 12:48:18 -0700
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2016-04-01 12:48:18 -0700
commitfb8dccc23e5f717319c230c2701a5fbf1d3c3975 (patch)
treea157871a4e0d418eaf2919f8cc767ac0400ae848 /Eigen/src/Core/ConditionEstimator.h
parent91414e0042779b1b9d312d9255f389e67aa38106 (diff)
Replace "inline static" with "static inline" for consistency.
Diffstat (limited to 'Eigen/src/Core/ConditionEstimator.h')
-rw-r--r--Eigen/src/Core/ConditionEstimator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Core/ConditionEstimator.h b/Eigen/src/Core/ConditionEstimator.h
index 68e4535aa..b65306d56 100644
--- a/Eigen/src/Core/ConditionEstimator.h
+++ b/Eigen/src/Core/ConditionEstimator.h
@@ -109,7 +109,7 @@ class ConditionEstimator {
* ||matrix||_1 = sup ||matrix * v||_1 / ||v||_1, which is equal to
* the greatest absolute column sum.
*/
- inline static Scalar MatrixL1Norm(const MatrixType& matrix) {
+ static inline Scalar MatrixL1Norm(const MatrixType& matrix) {
return matrix.cwiseAbs().colwise().sum().maxCoeff();
}
};
@@ -124,7 +124,7 @@ struct EstimateInverseMatrixL1NormImpl<Decomposition, 0> {
typedef typename internal::plain_col_type<MatrixType>::type Vector;
// Shorthand for vector L1 norm in Eigen.
- inline static Scalar VectorL1Norm(const Vector& v) {
+ static inline Scalar VectorL1Norm(const Vector& v) {
return v.template lpNorm<1>();
}
@@ -210,7 +210,7 @@ struct EstimateInverseMatrixL1NormImpl<Decomposition, 1> {
RealVector;
// Shorthand for vector L1 norm in Eigen.
- inline static RealScalar VectorL1Norm(const Vector& v) {
+ static inline RealScalar VectorL1Norm(const Vector& v) {
return v.template lpNorm<1>();
}