Added 5-Way and 6-Way key constructors supported by the base class
parent
f5cd87129d
commit
eab2496f6e
|
|
@ -98,6 +98,18 @@ namespace gtsam {
|
||||||
assertInvariants();
|
assertInvariants();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Construct 5-way factor */
|
||||||
|
IndexFactor(Index j1, Index j2, Index j3, Index j4, Index j5) :
|
||||||
|
Base(j1, j2, j3, j4, j5) {
|
||||||
|
assertInvariants();
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Construct 6-way factor */
|
||||||
|
IndexFactor(Index j1, Index j2, Index j3, Index j4, Index j5, Index j6) :
|
||||||
|
Base(j1, j2, j3, j4, j5, j6) {
|
||||||
|
assertInvariants();
|
||||||
|
}
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
/// @name Advanced Constructors
|
/// @name Advanced Constructors
|
||||||
/// @{
|
/// @{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue