implement errorTree for HybridNonlinearFactor
parent
cd3c590f32
commit
9c3d7b0f3b
|
@ -74,6 +74,13 @@ class GTSAM_EXPORT HybridNonlinearFactor : public HybridFactor {
|
|||
/// Decision tree of Gaussian factors indexed by discrete keys.
|
||||
Factors factors_;
|
||||
|
||||
/// HybridFactor method implementation. Should not be used.
|
||||
AlgebraicDecisionTree<Key> errorTree(
|
||||
const VectorValues& continuousValues) const override {
|
||||
throw std::runtime_error(
|
||||
"HybridNonlinearFactor::error does not take VectorValues.");
|
||||
}
|
||||
|
||||
public:
|
||||
HybridNonlinearFactor() = default;
|
||||
|
||||
|
|
Loading…
Reference in New Issue