aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Select.h
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-10-26 16:47:01 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-10-26 16:47:01 +0200
commitc738cd56ebdafe986c7edeb2621ec25f3c0b29d9 (patch)
tree2ff118b343b69a7dd68d7ad7d898fdfdc82c58ce /Eigen/src/Core/Select.h
parent2fbb9932b0f517643c5f05e4056b939b73956b00 (diff)
Renamed cleantype to remove_all since it is close to remove_{const|pointer|reference}.
Diffstat (limited to 'Eigen/src/Core/Select.h')
-rw-r--r--Eigen/src/Core/Select.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Core/Select.h b/Eigen/src/Core/Select.h
index bad6a74f9..d0cd66a26 100644
--- a/Eigen/src/Core/Select.h
+++ b/Eigen/src/Core/Select.h
@@ -57,9 +57,9 @@ struct traits<Select<ConditionMatrixType, ThenMatrixType, ElseMatrixType> >
MaxRowsAtCompileTime = ConditionMatrixType::MaxRowsAtCompileTime,
MaxColsAtCompileTime = ConditionMatrixType::MaxColsAtCompileTime,
Flags = (unsigned int)ThenMatrixType::Flags & ElseMatrixType::Flags & HereditaryBits,
- CoeffReadCost = traits<typename cleantype<ConditionMatrixNested>::type>::CoeffReadCost
- + EIGEN_SIZE_MAX(traits<typename cleantype<ThenMatrixNested>::type>::CoeffReadCost,
- traits<typename cleantype<ElseMatrixNested>::type>::CoeffReadCost)
+ CoeffReadCost = traits<typename remove_all<ConditionMatrixNested>::type>::CoeffReadCost
+ + EIGEN_SIZE_MAX(traits<typename remove_all<ThenMatrixNested>::type>::CoeffReadCost,
+ traits<typename remove_all<ElseMatrixNested>::type>::CoeffReadCost)
};
};
}