fix Windows CI issue: VALUE happens to have the same name in PriorFactor
parent
018213ec85
commit
84e873ebb0
|
|
@ -413,9 +413,9 @@ class NoiseModelFactorN
|
||||||
/// N is the number of variables (N-way factor)
|
/// N is the number of variables (N-way factor)
|
||||||
enum { N = sizeof...(VALUES) };
|
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>
|
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:
|
protected:
|
||||||
using Base = NoiseModelFactor;
|
using Base = NoiseModelFactor;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue