remove unused base variable

release/4.3a0
acxz 2020-07-23 15:47:14 -04:00
parent 905be415fa
commit c738f6b7f7
1 changed files with 0 additions and 1 deletions

View File

@ -109,7 +109,6 @@ class GTSAM_EXPORT FunctorizedFactor : public NoiseModelFactor1<T> {
virtual bool equals(const NonlinearFactor &other, double tol = 1e-9) const {
const FunctorizedFactor<R, T> *e =
dynamic_cast<const FunctorizedFactor<R, T> *>(&other);
const bool base = Base::equals(*e, tol);
return e && Base::equals(other, tol) &&
traits<R>::Equals(this->measured_, e->measured_, tol);
}