Accept list in constructor
parent
54afba0bbc
commit
33b772fc21
|
@ -75,10 +75,16 @@ namespace gtsam {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Constructor from keys and nr of frontal variables */
|
/** Constructor from keys and nr of frontal variables */
|
||||||
IndexConditional(const std::vector<Index>& keys, size_t nrFrontals) :
|
IndexConditional(const std::vector<Index>& keys, size_t nrFrontals) :
|
||||||
Base(keys, nrFrontals) {
|
Base(keys, nrFrontals) {
|
||||||
assertInvariants();
|
assertInvariants();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Constructor from keys and nr of frontal variables */
|
||||||
|
IndexConditional(const std::list<Index>& keys, size_t nrFrontals) :
|
||||||
|
Base(keys, nrFrontals) {
|
||||||
|
assertInvariants();
|
||||||
|
}
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
/// @name Standard Interface
|
/// @name Standard Interface
|
||||||
|
|
Loading…
Reference in New Issue