Added insertSub() to PairConfig
parent
8201c32046
commit
1918d28f68
|
@ -495,6 +495,10 @@ namespace gtsam {
|
||||||
|
|
||||||
void insert(const PairConfig& config);
|
void insert(const PairConfig& config);
|
||||||
|
|
||||||
|
/** Insert a subconfig */
|
||||||
|
void insertSub(const Config1& config) { first_.insert(config); }
|
||||||
|
void insertSub(const Config2& config) { second_.insert(config); }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove the variable with the given j. Throws invalid_argument if the
|
* Remove the variable with the given j. Throws invalid_argument if the
|
||||||
* j is not present in the config.
|
* j is not present in the config.
|
||||||
|
|
Loading…
Reference in New Issue