add using NonlinearFactor::error
parent
90536c58d5
commit
037c8b3643
|
@ -40,6 +40,8 @@ class GTSAM_EXPORT NonlinearConstraint : public NoiseModelFactor {
|
|||
/** Use constructors of NoiseModelFactor. */
|
||||
using Base::Base;
|
||||
|
||||
using NonlinearFactor::error;
|
||||
|
||||
/** Destructor. */
|
||||
virtual ~NonlinearConstraint() {}
|
||||
|
||||
|
|
|
@ -280,6 +280,8 @@ public:
|
|||
*/
|
||||
double weight(const Values& c) const;
|
||||
|
||||
using NonlinearFactor::error;
|
||||
|
||||
/**
|
||||
* Calculate the error of the factor.
|
||||
* This is the log-likelihood, e.g. \f$ 0.5(h(x)-z)^2/\sigma^2 \f$ in case of Gaussian.
|
||||
|
|
Loading…
Reference in New Issue