add override and formatting

release/4.3a0
Varun Agrawal 2021-01-19 15:40:37 -05:00
parent afb28e91b6
commit f831bfd62e
1 changed files with 6 additions and 5 deletions

View File

@ -113,12 +113,13 @@ class SmartStereoProjectionPoseFactor : public SmartStereoProjectionFactor {
* print
* @param s optional string naming the factor
* @param keyFormatter optional formatter useful for printing Symbols
*/ void print(
const std::string& s = "",
const KeyFormatter& keyFormatter = DefaultKeyFormatter) const override;
*/
void print(const std::string& s = "", const KeyFormatter& keyFormatter =
DefaultKeyFormatter) const override;
/// equals
virtual bool equals(const NonlinearFactor& p, double tol = 1e-9) const;
virtual bool equals(const NonlinearFactor& p,
double tol = 1e-9) const override;
/**
* error calculates the error of the factor.
@ -155,4 +156,4 @@ template <>
struct traits<SmartStereoProjectionPoseFactor>
: public Testable<SmartStereoProjectionPoseFactor> {};
} // \ namespace gtsam
} // namespace gtsam