small doc edits

release/4.3a0
Frank Dellaert 2023-01-08 16:35:01 -08:00
parent 4858e39ecf
commit f6d7be97da
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ namespace gtsam {
} }
/** /**
* The factor::error simply extracts the \class VectorValues from the * The Factor::error simply extracts the \class VectorValues from the
* \class HybridValues and calculates the error. * \class HybridValues and calculates the error.
*/ */
double error(const HybridValues& c) const override { double error(const HybridValues& c) const override {

View File

@ -98,11 +98,11 @@ public:
* \code double evaluateError(const Values& c) const \endcode. * \code double evaluateError(const Values& c) const \endcode.
*/ */
virtual double error(const Values& c) const { virtual double error(const Values& c) const {
throw std::runtime_error("NonlinearFactor::error::error is not implemented"); throw std::runtime_error("NonlinearFactor::error is not implemented");
} }
/** /**
* The factor::error simply extracts the \class Values from the * The Factor::error simply extracts the \class Values from the
* \class HybridValues and calculates the error. * \class HybridValues and calculates the error.
*/ */
double error(const HybridValues& c) const override { double error(const HybridValues& c) const override {