fix Windows CI issue: VALUE happens to have the same name in PriorFactor

release/4.3a0
Gerry Chen 2021-12-09 00:50:36 -05:00
parent 018213ec85
commit 84e873ebb0
No known key found for this signature in database
GPG Key ID: E9845092D3A57286
1 changed files with 2 additions and 2 deletions

View File

@ -413,9 +413,9 @@ class NoiseModelFactorN
/// N is the number of variables (N-way factor)
enum { N = sizeof...(VALUES) };
/** The type of the i'th template param can be obtained as VALUE<I> */
/** The type of the i'th template param can be obtained as X_<I> */
template <int I, typename std::enable_if<(I < N), bool>::type = true>
using VALUE = typename std::tuple_element<I, std::tuple<VALUES...>>::type;
using X_ = typename std::tuple_element<I, std::tuple<VALUES...>>::type;
protected:
using Base = NoiseModelFactor;