both boost and ptr version compile. ptr version tests failt

release/4.3a0
kartik arcot 2023-01-06 17:14:02 -08:00
parent ce02873140
commit 43b5ed78de
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ namespace simulated2D {
/// Return error and optional derivative
Vector evaluateError(const Pose& x, OptionalMatrixType H) const override {
return (prior(x, H) - measured_);
return (simulated2D::prior(x, H) - measured_);
}
~GenericPrior() override {}

View File

@ -92,7 +92,7 @@ struct PointPrior3D: public NoiseModelFactor1<Point3> {
* @return Vector error between prior value and x (Dimension: 3)
*/
Vector evaluateError(const Point3& x, OptionalMatrixType H) const override {
return prior(x, H) - measured_;
return simulated3D::prior(x, H) - measured_;
}
};