remove unused base variable
parent
905be415fa
commit
c738f6b7f7
|
@ -109,7 +109,6 @@ class GTSAM_EXPORT FunctorizedFactor : public NoiseModelFactor1<T> {
|
||||||
virtual bool equals(const NonlinearFactor &other, double tol = 1e-9) const {
|
virtual bool equals(const NonlinearFactor &other, double tol = 1e-9) const {
|
||||||
const FunctorizedFactor<R, T> *e =
|
const FunctorizedFactor<R, T> *e =
|
||||||
dynamic_cast<const FunctorizedFactor<R, T> *>(&other);
|
dynamic_cast<const FunctorizedFactor<R, T> *>(&other);
|
||||||
const bool base = Base::equals(*e, tol);
|
|
||||||
return e && Base::equals(other, tol) &&
|
return e && Base::equals(other, tol) &&
|
||||||
traits<R>::Equals(this->measured_, e->measured_, tol);
|
traits<R>::Equals(this->measured_, e->measured_, tol);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue