check if a JacobianFactor has a dual variable
parent
4be24f4f70
commit
b0d95c0a36
|
|
@ -397,6 +397,11 @@ public:
|
|||
return *dualKey_;
|
||||
}
|
||||
|
||||
/// return true if this factor has a dual key
|
||||
bool hasDualKey() const {
|
||||
return dualKey_ != boost::none;
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
/// Internal function to fill blocks and set dimensions
|
||||
|
|
|
|||
Loading…
Reference in New Issue